Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.2 MB / 303.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 173 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009091/0.0009092, allocations: 90.86 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004521, allocations: 11.94 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2522, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00804/0.2603, allocations: 8.752 MB / 0.988 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004928/0.2652, allocations: 3.075 MB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008922/0.2662, allocations: 31.81 kB / 0.9911 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.2667, allocations: 182.9 kB / 0.9912 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.2682, allocations: 498.5 kB / 0.9917 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2695, allocations: 0.521 MB / 0.9922 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.2711, allocations: 1.438 MB / 0.9936 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.2744, allocations: 2.703 MB / 0.9963 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.2755, allocations: 0.8061 MB / 0.9971 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.2766, allocations: 0.9972 MB / 0.998 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.2768, allocations: 120 kB / 0.9982 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.2773, allocations: 227.8 kB / 0.9984 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005502/0.2779, allocations: 0.8342 MB / 0.9992 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.2782, allocations: 376.8 kB / 0.9995 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.2803, allocations: 2.965 MB / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2803, allocations: 0 / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2803, allocations: 0 / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.684e-05/0.2803, allocations: 4 kB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003181/0.2835, allocations: 1.78 MB / 1.004 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2836, allocations: 8.031 kB / 1.004 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003284/0.2839, allocations: 261 kB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008784/0.2927, allocations: 1.433 MB / 1.006 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.2963, allocations: 1.227 MB / 1.007 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2964, allocations: 111 kB / 1.007 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.2969, allocations: 148 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006026/0.3029, allocations: 3.411 MB / 1.011 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.303, allocations: 11.94 kB / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.3032, allocations: 59.97 kB / 1.011 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.3035, allocations: 211.1 kB / 1.011 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/0.3089, allocations: 3.112 MB / 1.014 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.3288, allocations: 13.58 MB / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.3314, allocations: 1.715 MB / 1.029 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.3315, allocations: 9 kB / 1.029 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3316, allocations: 51.53 kB / 1.029 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/0.3316, allocations: 0 / 1.029 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.1457/0.4773, allocations: 35.95 MB / 1.064 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4774, allocations: 73.41 kB / 1.064 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.4789, allocations: 1.053 MB / 1.065 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004265/0.4793, allocations: 57.7 kB / 1.065 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.4798, allocations: 0.7758 MB / 1.066 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/0.4805, allocations: 0.6316 MB / 1.067 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.4807, allocations: 40 kB / 1.067 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4808, allocations: 377.9 kB / 1.067 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5148/0.9957, allocations: 1.929 MB / 1.069 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/0.9995, allocations: 2.274 MB / 1.071 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/1.003, allocations: 2.218 MB / 1.073 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.003, allocations: 2.844 kB / 1.073 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02565/1.029, allocations: 8.994 MB / 1.082 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/1.029, allocations: 9.812 kB / 1.082 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-05/1.029, allocations: 9.453 kB / 1.082 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01932/1.048, allocations: 4.979 MB / 1.087 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.05, allocations: 193.5 kB / 1.087 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05562/1.105, allocations: 36.83 MB / 1.123 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.107, allocations: 102.7 kB / 1.123 GB, free: 58.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/1.108, allocations: 70.64 kB / 1.123 GB, free: 58.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00138/1.109, allocations: 0.8087 MB / 1.124 GB, free: 57.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/1.109, allocations: 140.1 kB / 1.124 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.127, allocations: 8.871 MB / 1.133 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.127, allocations: 20 kB / 1.133 GB, free: 49.37 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.941e-05/1.127, allocations: 31.95 kB / 1.133 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/1.127, allocations: 11.95 kB / 1.133 GB, free: 49.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02396/1.151, allocations: 13.13 MB / 1.146 GB, free: 36.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/1.151, allocations: 4 kB / 1.146 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/1.152, allocations: 127.8 kB / 1.146 GB, free: 35.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/1.167, allocations: 4.749 MB / 1.15 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004962/1.167, allocations: 36 kB / 1.15 GB, free: 31.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04415/1.211, allocations: 32.99 MB / 1.183 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.211, allocations: 7.938 kB / 1.183 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.231, allocations: 8.564 MB / 1.191 GB, free: 4.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/1.233, allocations: 0.6124 MB / 1.192 GB, free: 4.301 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.233, allocations: 32 kB / 1.192 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.234, allocations: 95.88 kB / 1.192 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007877/1.235, allocations: 166.7 kB / 1.192 GB, free: 4.012 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.235, allocations: 44 kB / 1.192 GB, free: 3.969 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001024/1.236, allocations: 0.7304 MB / 1.193 GB, free: 3.227 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/1.236, allocations: 0 / 1.193 GB, free: 3.227 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003353/1.24, allocations: 0.9961 MB / 1.194 GB, free: 2.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01901/1.259, allocations: 10.18 MB / 1.204 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.269, allocations: 5.84 MB / 1.209 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.269, allocations: 4.188 kB / 1.209 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008055/1.277, allocations: 3.775 MB / 1.213 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/1.279, allocations: 191.2 kB / 1.213 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04256/1.321, allocations: 26.67 MB / 1.239 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/1.324, allocations: 1.899 MB / 1.241 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001027/1.325, allocations: 347.4 kB / 1.241 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/1.325, allocations: 0.6086 MB / 1.242 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of SimCode: time 1.693e-06/1.325, allocations: 0 / 1.242 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/1.471, allocations: 69.74 MB / 1.31 GB, free: 10.55 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.471, allocations: 244.3 kB / 1.31 GB, free: 10.27 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/4.828, allocations: 0 / 1.31 GB, free: 10.27 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)