Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001508/0.001508, allocations: 181 kB / 377.1 MB, free: 1.527 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.932/1.932, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008865, allocations: 89.42 kB / 0.7509 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 11.94 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2832, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8738/1.157, allocations: 196 MB / 1.18 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.157, allocations: 95.94 kB / 1.18 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3635/1.521, allocations: 146.4 MB / 1.323 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.585e-06/1.521, allocations: 0 / 1.323 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004074/1.521, allocations: 91.98 kB / 1.323 GB, free: 14.23 MB / 0.9011 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.01314/1.535, allocations: 3.516 MB / 1.326 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.535, allocations: 12.02 kB / 1.326 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002344/1.537, allocations: 0.5459 MB / 1.327 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/1.543, allocations: 0.8225 MB / 1.328 GB, free: 9.254 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007419/1.55, allocations: 2.568 MB / 1.33 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/1.551, allocations: 271.3 kB / 1.331 GB, free: 6.367 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.552, allocations: 379.9 kB / 1.331 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/1.563, allocations: 5.706 MB / 1.336 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-05/1.563, allocations: 19.78 kB / 1.336 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004213/1.563, allocations: 164 kB / 1.337 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/1.564, allocations: 214.9 kB / 1.337 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00743/1.571, allocations: 4.119 MB / 1.341 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7544/2.326, allocations: 27.67 MB / 1.368 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/2.328, allocations: 1.098 MB / 1.369 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/2.328, allocations: 10.39 kB / 1.369 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/2.328, allocations: 46.25 kB / 1.369 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 3.166e-06/2.328, allocations: 0 / 1.369 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.02578/2.354, allocations: 9.537 MB / 1.378 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/2.354, allocations: 65.69 kB / 1.378 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/2.358, allocations: 1.271 MB / 1.38 GB, free: 175 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/2.359, allocations: 48.61 kB / 1.38 GB, free: 175 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/2.36, allocations: 1.667 MB / 1.381 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007478/2.361, allocations: 470.4 kB / 1.382 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/2.361, allocations: 35.94 kB / 1.382 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002286/2.362, allocations: 378 kB / 1.382 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/2.363, allocations: 0.8731 MB / 1.383 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/2.365, allocations: 1.471 MB / 1.384 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/2.367, allocations: 1.117 MB / 1.386 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/2.367, allocations: 9.328 kB / 1.386 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007346/2.374, allocations: 3.218 MB / 1.389 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/2.375, allocations: 13.75 kB / 1.389 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/2.375, allocations: 19.58 kB / 1.389 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/2.377, allocations: 0.7213 MB / 1.389 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/2.379, allocations: 397.7 kB / 1.39 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/2.393, allocations: 15.86 MB / 1.405 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/2.395, allocations: 101.4 kB / 1.405 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/2.395, allocations: 79.83 kB / 1.405 GB, free: 161.5 MB / 0.9323 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 () * Number of clocked 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.003161/2.398, allocations: 1.31 MB / 1.407 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/2.399, allocations: 201.1 kB / 1.407 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005184/2.404, allocations: 2.744 MB / 1.41 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/2.404, allocations: 16.03 kB / 1.41 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/2.404, allocations: 9.219 kB / 1.41 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/2.404, allocations: 4.875 kB / 1.41 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/2.415, allocations: 6.085 MB / 1.416 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/2.415, allocations: 6.125 kB / 1.416 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/2.417, allocations: 238.9 kB / 1.416 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/2.418, allocations: 0.6454 MB / 1.416 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/2.419, allocations: 29.88 kB / 1.416 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/2.43, allocations: 15.59 MB / 1.432 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.43, allocations: 6.438 kB / 1.432 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/2.436, allocations: 4.267 MB / 1.436 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/2.438, allocations: 448.2 kB / 1.436 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/2.438, allocations: 35.03 kB / 1.436 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/2.439, allocations: 81.23 kB / 1.436 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/2.439, allocations: 115.4 kB / 1.437 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/2.439, allocations: 40.19 kB / 1.437 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001396/2.44, allocations: 0.9727 MB / 1.438 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.44, allocations: 0 / 1.438 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003054/2.443, allocations: 0.7039 MB / 1.438 GB, free: 147.7 MB / 0.9323 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 () * Number of clocked 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.005888/2.449, allocations: 6.218 MB / 1.444 GB, free: 144.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004809/2.454, allocations: 3.439 MB / 1.448 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.454, allocations: 3.125 kB / 1.448 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002558/2.457, allocations: 2.25 MB / 1.45 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/2.459, allocations: 0.5797 MB / 1.45 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/2.492, allocations: 30.55 MB / 1.48 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003817/2.496, allocations: 2.732 MB / 1.483 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001741/2.498, allocations: 481.1 kB / 1.483 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/2.499, allocations: 1.28 MB / 1.485 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of SimCode: time 2.485e-06/2.499, allocations: 0 / 1.485 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/2.604, allocations: 53.76 MB / 1.537 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/2.604, allocations: 219.5 kB / 1.537 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/6.275, allocations: 4 kB / 1.537 GB, free: 118.2 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)