Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 86.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.615e-05/4.628e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2603, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.851/1.111, allocations: 188.7 MB / 1.076 GB, free: 12.65 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.112, allocations: 96.75 kB / 1.076 GB, free: 12.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3618/1.473, allocations: 145.7 MB / 1.219 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.645e-06/1.474, allocations: 4 kB / 1.219 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000259/1.474, allocations: 99.91 kB / 1.219 GB, free: 14.96 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01058/1.484, allocations: 3.212 MB / 1.222 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.484, allocations: 12.02 kB / 1.222 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001765/1.486, allocations: 0.538 MB / 1.222 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/1.492, allocations: 0.8225 MB / 1.223 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007429/1.5, allocations: 2.549 MB / 1.226 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/1.5, allocations: 275.3 kB / 1.226 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/1.502, allocations: 383.8 kB / 1.226 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/1.515, allocations: 5.636 MB / 1.232 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/1.515, allocations: 19.8 kB / 1.232 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000563/1.516, allocations: 167.9 kB / 1.232 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002921/1.516, allocations: 219 kB / 1.232 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/1.527, allocations: 4.045 MB / 1.236 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6533/2.181, allocations: 27.68 MB / 1.263 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/2.183, allocations: 1.076 MB / 1.264 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/2.184, allocations: 0.9803 MB / 1.265 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/2.184, allocations: 10.84 kB / 1.265 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/2.184, allocations: 51.23 kB / 1.265 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 3.447e-06/2.184, allocations: 0 / 1.265 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.02161/2.206, allocations: 7.978 MB / 1.273 GB, free: 225 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/2.206, allocations: 64.78 kB / 1.273 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/2.209, allocations: 1.263 MB / 1.274 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/2.209, allocations: 47.02 kB / 1.274 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/2.21, allocations: 1.662 MB / 1.276 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000426/2.21, allocations: 471.6 kB / 1.276 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/2.21, allocations: 36.78 kB / 1.276 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001331/2.211, allocations: 373.9 kB / 1.277 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/2.212, allocations: 0.8602 MB / 1.278 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/2.214, allocations: 1.446 MB / 1.279 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/2.215, allocations: 1.112 MB / 1.28 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/2.215, allocations: 9.719 kB / 1.28 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006191/2.222, allocations: 3.187 MB / 1.283 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/2.222, allocations: 14.67 kB / 1.283 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/2.222, allocations: 18.53 kB / 1.283 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/2.224, allocations: 0.7184 MB / 1.284 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/2.226, allocations: 395.6 kB / 1.284 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/2.24, allocations: 15.57 MB / 1.3 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/2.243, allocations: 103.4 kB / 1.3 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/2.243, allocations: 78.91 kB / 1.3 GB, free: 211.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003952/2.243, allocations: 221.1 kB / 1.3 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/2.244, allocations: 198.7 kB / 1.3 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005842/2.25, allocations: 2.721 MB / 1.303 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/2.25, allocations: 15.19 kB / 1.303 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/2.25, allocations: 8.562 kB / 1.303 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/2.25, allocations: 6.234 kB / 1.303 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/2.265, allocations: 6.06 MB / 1.309 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/2.265, allocations: 4.625 kB / 1.309 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/2.266, allocations: 240.3 kB / 1.309 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002027/2.268, allocations: 0.6423 MB / 1.31 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/2.268, allocations: 31.31 kB / 1.31 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/2.281, allocations: 15.3 MB / 1.325 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/2.281, allocations: 6.594 kB / 1.325 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/2.287, allocations: 4.237 MB / 1.329 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/2.289, allocations: 445.8 kB / 1.329 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/2.289, allocations: 36.84 kB / 1.329 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/2.29, allocations: 82.3 kB / 1.329 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/2.29, allocations: 115 kB / 1.329 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/2.29, allocations: 35.69 kB / 1.329 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001315/2.292, allocations: 0.9567 MB / 1.33 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3e-07/2.292, allocations: 0 / 1.33 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002986/2.295, allocations: 0.7014 MB / 1.331 GB, free: 197.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005773/2.3, allocations: 6.181 MB / 1.337 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005005/2.305, allocations: 3.398 MB / 1.34 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/2.305, allocations: 0 / 1.34 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/2.308, allocations: 2.217 MB / 1.343 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/2.312, allocations: 0.5747 MB / 1.343 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/2.325, allocations: 6.205 MB / 1.349 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/2.327, allocations: 2.735 MB / 1.352 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001885/2.329, allocations: 472.4 kB / 1.352 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/2.331, allocations: 1.281 MB / 1.354 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/2.331, allocations: 3.344 kB / 1.354 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09369/2.424, allocations: 54.08 MB / 1.406 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/2.425, allocations: 205 kB / 1.407 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.595/6.02, allocations: 0 / 1.407 GB, free: 183.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)