Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 298.7 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 89.27 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1571, allocations: 86.98 MB / 0.6796 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0209/0.1781, allocations: 20.08 MB / 0.6992 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009789/0.1879, allocations: 6.444 MB / 0.7055 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.1901, allocations: 75.62 kB / 0.7055 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004917/0.195, allocations: 2.084 MB / 0.7076 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.1982, allocations: 1.112 MB / 0.7087 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.2012, allocations: 1.169 MB / 0.7098 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006795/0.208, allocations: 6.983 MB / 0.7166 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007666/0.2157, allocations: 6.165 MB / 0.7226 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.2189, allocations: 1.783 MB / 0.7244 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.2216, allocations: 2.387 MB / 0.7267 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004139/0.2221, allocations: 292 kB / 0.727 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.2239, allocations: 1.026 MB / 0.728 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.2252, allocations: 1.536 MB / 0.7295 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.2269, allocations: 1.758 MB / 0.7312 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004957/0.2319, allocations: 6.411 MB / 0.7375 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2319, allocations: 0 / 0.7375 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2319, allocations: 0 / 0.7375 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.351e-05/0.232, allocations: 0 / 0.7375 GB, free: 5.547 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005866/0.2379, allocations: 3.463 MB / 0.7408 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2379, allocations: 8.031 kB / 0.7409 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005468/0.2385, allocations: 458.5 kB / 0.7413 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.2417, allocations: 0.6371 MB / 0.7419 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.2448, allocations: 1.943 MB / 0.7438 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.2449, allocations: 226.3 kB / 0.744 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004319/0.2454, allocations: 300.1 kB / 0.7443 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.2527, allocations: 4.886 MB / 0.7491 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.2528, allocations: 11.84 kB / 0.7491 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.2531, allocations: 132 kB / 0.7492 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003896/0.2535, allocations: 225.7 kB / 0.7494 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005479/0.259, allocations: 3.75 MB / 0.7531 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2956/0.5546, allocations: 21.56 MB / 0.7742 GB, free: 81.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.5568, allocations: 1.3 MB / 0.7754 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.5582, allocations: 1.051 MB / 0.7764 GB, free: 81.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.5583, allocations: 11.56 kB / 0.7765 GB, free: 81.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.5584, allocations: 52.17 kB / 0.7765 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.085e-06/0.5584, allocations: 0 / 0.7765 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02319/0.5816, allocations: 8.646 MB / 0.785 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.5817, allocations: 74.3 kB / 0.785 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5831, allocations: 1.128 MB / 0.7861 GB, free: 78.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.5832, allocations: 54.55 kB / 0.7862 GB, free: 78.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/0.584, allocations: 1.292 MB / 0.7874 GB, free: 77.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.5843, allocations: 482.6 kB / 0.7879 GB, free: 77.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.5847, allocations: 286.9 kB / 0.7882 GB, free: 77.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.5848, allocations: 304.7 kB / 0.7885 GB, free: 77.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.586, allocations: 0.9121 MB / 0.7894 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.5873, allocations: 1.328 MB / 0.7907 GB, free: 75.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.59, allocations: 2.427 MB / 0.793 GB, free: 74.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.59, allocations: 6.156 kB / 0.793 GB, free: 74.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00603/0.5961, allocations: 3.464 MB / 0.7964 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5961, allocations: 10.94 kB / 0.7964 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.5961, allocations: 12.31 kB / 0.7964 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/0.5992, allocations: 1.186 MB / 0.7976 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/0.6, allocations: 262.1 kB / 0.7978 GB, free: 72.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.6132, allocations: 12.72 MB / 0.8103 GB, free: 64.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.6143, allocations: 94.77 kB / 0.8103 GB, free: 64.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.6145, allocations: 59.44 kB / 0.8104 GB, free: 64.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001448/0.6159, allocations: 1.12 MB / 0.8115 GB, free: 63.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.6161, allocations: 161.3 kB / 0.8117 GB, free: 63.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.6206, allocations: 3.174 MB / 0.8148 GB, free: 61.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.6206, allocations: 22.94 kB / 0.8148 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.6207, allocations: 12.59 kB / 0.8148 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6207, allocations: 7.969 kB / 0.8148 GB, free: 61.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.6289, allocations: 6.236 MB / 0.8209 GB, free: 57.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.6289, allocations: 7.875 kB / 0.8209 GB, free: 57.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.6294, allocations: 144.3 kB / 0.821 GB, free: 57.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.632, allocations: 1.08 MB / 0.8221 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-05/0.6321, allocations: 28.34 kB / 0.8221 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.6437, allocations: 12.41 MB / 0.8342 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6437, allocations: 4 kB / 0.8342 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00413/0.6478, allocations: 3.15 MB / 0.8373 GB, free: 41.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.6484, allocations: 430.9 kB / 0.8377 GB, free: 40.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.6486, allocations: 29.31 kB / 0.8377 GB, free: 40.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.6493, allocations: 83.89 kB / 0.8378 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.6495, allocations: 124.7 kB / 0.8379 GB, free: 40.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/0.6496, allocations: 36 kB / 0.838 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007635/0.6504, allocations: 0.7671 MB / 0.8387 GB, free: 39.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6504, allocations: 3.938 kB / 0.8387 GB, free: 39.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001686/0.6521, allocations: 0.6602 MB / 0.8394 GB, free: 39.08 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004184/0.6563, allocations: 3.742 MB / 0.843 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00371/0.66, allocations: 3.133 MB / 0.8461 GB, free: 32.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.66, allocations: 0 / 0.8461 GB, free: 32.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002188/0.6622, allocations: 1.952 MB / 0.848 GB, free: 30.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.664, allocations: 467.1 kB / 0.8484 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/0.6885, allocations: 21.36 MB / 0.8693 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.6902, allocations: 2.338 MB / 0.8716 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009474/0.6911, allocations: 358.8 kB / 0.8719 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/0.692, allocations: 1.015 MB / 0.8729 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.692, allocations: 0 / 0.8729 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06934/0.7613, allocations: 50.28 MB / 0.922 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.7616, allocations: 268.9 kB / 0.9223 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.233, allocations: 0 / 0.9223 GB, free: 1.875 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)