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.457/1.457, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 185 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008708/0.0008708, allocations: 84.42 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004263, allocations: 9.5 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 106.3 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9293/1.206, allocations: 188.7 MB / 1.084 GB, free: 52.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/1.206, allocations: 97.61 kB / 1.085 GB, free: 52.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.351/1.557, allocations: 146.4 MB / 1.228 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.637e-06/1.557, allocations: 4 kB / 1.228 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004557/1.558, allocations: 95.69 kB / 1.228 GB, free: 8.836 MB / 0.7292 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.01525/1.573, allocations: 3.502 MB / 1.231 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/1.573, allocations: 12.03 kB / 1.231 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003516/1.577, allocations: 0.5454 MB / 1.232 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/1.584, allocations: 0.8264 MB / 1.232 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/1.595, allocations: 2.565 MB / 1.235 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/1.595, allocations: 274.3 kB / 1.235 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/1.598, allocations: 379.6 kB / 1.236 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/1.618, allocations: 5.701 MB / 1.241 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/1.618, allocations: 31.72 kB / 1.241 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/1.62, allocations: 167.3 kB / 1.241 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003646/1.62, allocations: 211 kB / 1.241 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/1.632, allocations: 4.126 MB / 1.245 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04499/1.677, allocations: 27.66 MB / 1.273 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/1.679, allocations: 1.1 MB / 1.274 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-05/1.679, allocations: 9 kB / 1.274 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.679, allocations: 47.56 kB / 1.274 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 3.537e-06/1.679, allocations: 4 kB / 1.274 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.02162/1.701, allocations: 9.538 MB / 1.283 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/1.701, allocations: 68.72 kB / 1.283 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/1.703, allocations: 1.278 MB / 1.284 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.703, allocations: 45.7 kB / 1.284 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/1.704, allocations: 1.666 MB / 1.286 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/1.705, allocations: 472.6 kB / 1.286 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/1.705, allocations: 39.94 kB / 1.286 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002322/1.705, allocations: 377.9 kB / 1.287 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.706, allocations: 0.8706 MB / 1.288 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/1.708, allocations: 1.468 MB / 1.289 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.71, allocations: 1.119 MB / 1.29 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.71, allocations: 4 kB / 1.29 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005811/1.716, allocations: 3.219 MB / 1.293 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/1.716, allocations: 16 kB / 1.293 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.716, allocations: 16 kB / 1.293 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/1.718, allocations: 0.7263 MB / 1.294 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.719, allocations: 399.3 kB / 1.294 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/1.735, allocations: 15.85 MB / 1.31 GB, free: 4 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.738, allocations: 112 kB / 1.31 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.738, allocations: 76 kB / 1.31 GB, free: 15.82 MB / 0.823 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.003766/1.742, allocations: 1.315 MB / 1.311 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/1.742, allocations: 209.6 kB / 1.312 GB, free: 14.29 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005318/1.748, allocations: 2.734 MB / 1.314 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/1.748, allocations: 12 kB / 1.314 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.748, allocations: 8.375 kB / 1.314 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.748, allocations: 3.984 kB / 1.314 GB, free: 11.49 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.762, allocations: 6.091 MB / 1.32 GB, free: 5.262 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/1.762, allocations: 4 kB / 1.32 GB, free: 5.258 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.763, allocations: 239.6 kB / 1.32 GB, free: 5.023 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/1.765, allocations: 0.644 MB / 1.321 GB, free: 4.352 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.765, allocations: 28 kB / 1.321 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/1.78, allocations: 15.59 MB / 1.336 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.78, allocations: 4 kB / 1.336 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007469/1.787, allocations: 4.261 MB / 1.34 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.789, allocations: 463 kB / 1.341 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/1.79, allocations: 31.98 kB / 1.341 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008961/1.791, allocations: 79.89 kB / 1.341 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/1.791, allocations: 116.8 kB / 1.341 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-05/1.791, allocations: 36 kB / 1.341 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00156/1.793, allocations: 0.9708 MB / 1.342 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.91e-07/1.793, allocations: 0 / 1.342 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002939/1.796, allocations: 0.707 MB / 1.343 GB, free: 12.65 MB / 0.8542 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.007061/1.803, allocations: 6.215 MB / 1.349 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005644/1.808, allocations: 3.437 MB / 1.352 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.808, allocations: 4.5 kB / 1.352 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003248/1.812, allocations: 2.256 MB / 1.354 GB, free: 320 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/1.815, allocations: 0.5825 MB / 1.355 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5878/2.403, allocations: 30.54 MB / 1.385 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005003/2.408, allocations: 2.731 MB / 1.388 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002103/2.41, allocations: 470.2 kB / 1.388 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/2.412, allocations: 1.281 MB / 1.389 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/2.412, allocations: 3.062 kB / 1.389 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/2.534, allocations: 53.78 MB / 1.442 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/2.534, allocations: 231.5 kB / 1.442 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/6.148, allocations: 0 / 1.442 GB, free: 235.1 MB / 0.8855 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)