Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.823/1.823, 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.001851/0.00185, allocations: 195.6 kB / 377.1 MB, free: 1.539 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.585/1.585, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0008589/0.0008589, allocations: 96.88 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9037/1.208, allocations: 172.1 MB / 1.157 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.208, allocations: 99.47 kB / 1.157 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.5103/1.719, allocations: 200.1 MB / 1.352 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.406e-06/1.719, allocations: 0 / 1.352 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005411/1.719, allocations: 139.9 kB / 1.352 GB, free: 15.69 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02014/1.74, allocations: 4.76 MB / 1.357 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.74, allocations: 8.031 kB / 1.357 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005161/1.745, allocations: 0.8166 MB / 1.358 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/1.758, allocations: 1.049 MB / 1.359 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/1.774, allocations: 3.41 MB / 1.362 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008948/1.775, allocations: 418.5 kB / 1.362 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004098/1.779, allocations: 0.5311 MB / 1.363 GB, free: 4.562 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6586/2.437, allocations: 8.584 MB / 1.371 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/2.438, allocations: 26.03 kB / 1.371 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007685/2.438, allocations: 244.2 kB / 1.371 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003852/2.439, allocations: 310.2 kB / 1.372 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/2.452, allocations: 6.153 MB / 1.378 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05789/2.51, allocations: 40.1 MB / 1.417 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/2.514, allocations: 3.086 MB / 1.42 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/2.515, allocations: 20.66 kB / 1.42 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/2.515, allocations: 51.78 kB / 1.42 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 5.029e-06/2.515, allocations: 0 / 1.42 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.02305/2.538, allocations: 9.865 MB / 1.43 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/2.538, allocations: 72.28 kB / 1.43 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/2.54, allocations: 1.305 MB / 1.431 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/2.54, allocations: 54.67 kB / 1.431 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/2.541, allocations: 2.241 MB / 1.433 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/2.542, allocations: 0.6335 MB / 1.434 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/2.542, allocations: 47.34 kB / 1.434 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001472/2.542, allocations: 398.2 kB / 1.434 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/2.543, allocations: 1.164 MB / 1.435 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/2.545, allocations: 1.847 MB / 1.437 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/2.547, allocations: 1.506 MB / 1.439 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/2.547, allocations: 8.969 kB / 1.439 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00701/2.554, allocations: 4.541 MB / 1.443 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/2.554, allocations: 13.75 kB / 1.443 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/2.554, allocations: 22.91 kB / 1.443 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/2.558, allocations: 1.577 MB / 1.445 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/2.559, allocations: 351.5 kB / 1.445 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/2.58, allocations: 17.7 MB / 1.462 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/2.582, allocations: 119.1 kB / 1.462 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/2.582, allocations: 94.66 kB / 1.463 GB, free: 118 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003953/2.586, allocations: 1.892 MB / 1.464 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/2.586, allocations: 223.9 kB / 1.465 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006562/2.593, allocations: 4.081 MB / 1.469 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/2.593, allocations: 18.97 kB / 1.469 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/2.593, allocations: 16.66 kB / 1.469 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/2.593, allocations: 10.22 kB / 1.469 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/2.609, allocations: 9.406 MB / 1.478 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/2.609, allocations: 6.438 kB / 1.478 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/2.61, allocations: 185.9 kB / 1.478 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003262/2.613, allocations: 1.352 MB / 1.479 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/2.614, allocations: 33.41 kB / 1.479 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/2.632, allocations: 16.53 MB / 1.496 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/2.632, allocations: 12.27 kB / 1.496 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007627/2.64, allocations: 4.353 MB / 1.5 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.642, allocations: 0.5217 MB / 1.5 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/2.642, allocations: 43.08 kB / 1.5 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/2.643, allocations: 87.66 kB / 1.5 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005531/2.644, allocations: 162.5 kB / 1.501 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/2.644, allocations: 48.41 kB / 1.501 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001336/2.645, allocations: 0.9901 MB / 1.502 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/2.645, allocations: 0 / 1.502 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004568/2.65, allocations: 1.028 MB / 1.503 GB, free: 100.8 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00758/2.657, allocations: 6.093 MB / 1.509 GB, free: 97.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007294/2.664, allocations: 4.269 MB / 1.513 GB, free: 95.21 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.665, allocations: 1.031 kB / 1.513 GB, free: 95.21 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/2.669, allocations: 2.658 MB / 1.515 GB, free: 93.92 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/2.673, allocations: 0.6849 MB / 1.516 GB, free: 93.75 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05515/2.728, allocations: 37.33 MB / 1.552 GB, free: 66.54 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005934/2.734, allocations: 3.661 MB / 1.556 GB, free: 65.18 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002118/2.737, allocations: 464.8 kB / 1.556 GB, free: 65.13 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/2.739, allocations: 1.793 MB / 1.558 GB, free: 63.57 MB / 0.9323 GB Notification: Performance of SimCode: time 1.553e-06/2.739, allocations: 0 / 1.558 GB, free: 63.57 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/2.857, allocations: 71.05 MB / 1.628 GB, free: 60.33 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/2.857, allocations: 224.6 kB / 1.628 GB, free: 60.09 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.215/7.073, allocations: 0 / 1.628 GB, free: 60.09 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)