Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.773/1.773, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001361/0.001361, allocations: 191.1 kB / 377.1 MB, free: 1.52 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.808/1.808, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.00093/0.00093, allocations: 93.56 kB / 0.7509 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3017, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9914/1.293, allocations: 171.8 MB / 1.156 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.294, allocations: 96.92 kB / 1.156 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4271/1.721, allocations: 182.4 MB / 1.334 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.408e-06/1.721, allocations: 4 kB / 1.334 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003116/1.721, allocations: 131.9 kB / 1.335 GB, free: 1.812 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01366/1.735, allocations: 4.492 MB / 1.339 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.735, allocations: 12.02 kB / 1.339 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002922/1.738, allocations: 0.7099 MB / 1.34 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007204/1.745, allocations: 1.016 MB / 1.341 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008649/1.754, allocations: 3.232 MB / 1.344 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/1.754, allocations: 357.7 kB / 1.344 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/1.756, allocations: 472 kB / 1.345 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/1.772, allocations: 7.511 MB / 1.352 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/1.772, allocations: 27.72 kB / 1.352 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006259/1.773, allocations: 212 kB / 1.352 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/1.773, allocations: 265.2 kB / 1.352 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/1.784, allocations: 5.403 MB / 1.358 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7082/2.493, allocations: 36.25 MB / 1.393 GB, free: 142 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/2.496, allocations: 2.133 MB / 1.395 GB, free: 142 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/2.496, allocations: 19.12 kB / 1.395 GB, free: 142 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.905e-05/2.496, allocations: 55.75 kB / 1.395 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=157): time 6.302e-06/2.497, allocations: 0 / 1.395 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=160): time 0.01862/2.515, allocations: 7.531 MB / 1.403 GB, free: 140 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/2.515, allocations: 68.53 kB / 1.403 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/2.519, allocations: 1.562 MB / 1.404 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/2.519, allocations: 55.11 kB / 1.404 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/2.521, allocations: 2.099 MB / 1.406 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/2.522, allocations: 0.5533 MB / 1.407 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/2.522, allocations: 42.66 kB / 1.407 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002051/2.523, allocations: 395.9 kB / 1.407 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/2.525, allocations: 1.011 MB / 1.408 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/2.527, allocations: 1.731 MB / 1.41 GB, free: 137.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/2.529, allocations: 1.307 MB / 1.411 GB, free: 137.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/2.529, allocations: 6.469 kB / 1.411 GB, free: 137.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007039/2.536, allocations: 3.802 MB / 1.415 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/2.536, allocations: 20.31 kB / 1.415 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.638e-05/2.537, allocations: 21.94 kB / 1.415 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/2.539, allocations: 0.9165 MB / 1.416 GB, free: 137 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/2.541, allocations: 415.2 kB / 1.416 GB, free: 137 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/2.558, allocations: 21.4 MB / 1.437 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/2.561, allocations: 124.9 kB / 1.437 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/2.561, allocations: 96.75 kB / 1.437 GB, free: 121.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004148/2.565, allocations: 1.642 MB / 1.439 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008753/2.566, allocations: 255 kB / 1.439 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/2.572, allocations: 3.254 MB / 1.442 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/2.572, allocations: 19.42 kB / 1.442 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/2.572, allocations: 9.25 kB / 1.442 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/2.572, allocations: 7.734 kB / 1.442 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/2.584, allocations: 7.507 MB / 1.45 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/2.584, allocations: 6.531 kB / 1.45 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/2.585, allocations: 220.5 kB / 1.45 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/2.588, allocations: 0.8822 MB / 1.451 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/2.588, allocations: 30.09 kB / 1.451 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/2.604, allocations: 21.36 MB / 1.472 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.604, allocations: 7.938 kB / 1.472 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/2.61, allocations: 3.699 MB / 1.475 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/2.611, allocations: 0.5274 MB / 1.476 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/2.611, allocations: 37.06 kB / 1.476 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/2.612, allocations: 94.8 kB / 1.476 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004783/2.613, allocations: 147.3 kB / 1.476 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/2.613, allocations: 44.47 kB / 1.476 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001654/2.615, allocations: 1.181 MB / 1.477 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/2.615, allocations: 0 / 1.477 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003807/2.619, allocations: 0.9351 MB / 1.478 GB, free: 104.1 MB / 0.9323 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005723/2.624, allocations: 5.412 MB / 1.484 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006433/2.631, allocations: 4.35 MB / 1.488 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/2.631, allocations: 5.844 kB / 1.488 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004222/2.635, allocations: 2.987 MB / 1.491 GB, free: 98.72 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/2.639, allocations: 0.717 MB / 1.491 GB, free: 98.71 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04311/2.682, allocations: 37.36 MB / 1.528 GB, free: 71.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004386/2.687, allocations: 3.294 MB / 1.531 GB, free: 70.03 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0023/2.689, allocations: 0.5183 MB / 1.532 GB, free: 69.96 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/2.691, allocations: 1.678 MB / 1.533 GB, free: 68.54 MB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/2.691, allocations: 0 / 1.533 GB, free: 68.54 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/2.835, allocations: 67.87 MB / 1.6 GB, free: 65.67 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/2.835, allocations: 230.5 kB / 1.6 GB, free: 65.43 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/6.975, allocations: 0 / 1.6 GB, free: 65.43 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)