Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.815/1.815, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.001203/0.001203, allocations: 180.9 kB / 366.7 MB, free: 1.688 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.717/1.717, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.001315/0.001314, allocations: 90.59 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.738e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7107/0.7107, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.9372, allocations: 171.2 MB / 1.14 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.9375, allocations: 91.94 kB / 1.141 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.9136/1.851, allocations: 178.9 MB / 1.315 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/1.851, allocations: 0 / 1.315 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003254/1.851, allocations: 116.1 kB / 1.315 GB, free: 186.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01484/1.866, allocations: 3.834 MB / 1.319 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.866, allocations: 7.844 kB / 1.319 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/1.873, allocations: 0.94 MB / 1.32 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/1.88, allocations: 2.985 MB / 1.323 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/1.881, allocations: 153.9 kB / 1.323 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.882, allocations: 283.8 kB / 1.323 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008672/1.89, allocations: 4.523 MB / 1.328 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/1.902, allocations: 6.546 MB / 1.334 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/1.902, allocations: 32.88 kB / 1.334 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/1.903, allocations: 13.97 kB / 1.334 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/1.903, allocations: 280.8 kB / 1.335 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/1.931, allocations: 34.08 MB / 1.368 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/1.934, allocations: 2.082 MB / 1.37 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.935, allocations: 1.206 MB / 1.371 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/1.935, allocations: 14.12 kB / 1.371 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.935, allocations: 58.66 kB / 1.371 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.058e-06/1.935, allocations: 0 / 1.371 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.007406/1.942, allocations: 4.365 MB / 1.375 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.942, allocations: 70.31 kB / 1.375 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.944, allocations: 1.061 MB / 1.376 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/1.944, allocations: 29.08 kB / 1.376 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007812/1.945, allocations: 1.994 MB / 1.378 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/1.945, allocations: 469.1 kB / 1.379 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/1.945, allocations: 0 / 1.379 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/1.945, allocations: 378.7 kB / 1.379 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009072/1.946, allocations: 0.8562 MB / 1.38 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.947, allocations: 1.484 MB / 1.382 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/1.948, allocations: 1.121 MB / 1.383 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.948, allocations: 6.344 kB / 1.383 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004903/1.953, allocations: 3.212 MB / 1.386 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.953, allocations: 12.66 kB / 1.386 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/1.953, allocations: 21.97 kB / 1.386 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/1.956, allocations: 0.8739 MB / 1.387 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.957, allocations: 349.3 kB / 1.387 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.971, allocations: 20.36 MB / 1.407 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.972, allocations: 64.02 kB / 1.407 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/1.973, allocations: 84.88 kB / 1.407 GB, free: 124 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(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.0003921/1.973, allocations: 170.3 kB / 1.407 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00417/1.977, allocations: 2.671 MB / 1.41 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/1.978, allocations: 192.3 kB / 1.41 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/1.982, allocations: 2.811 MB / 1.413 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.982, allocations: 13.59 kB / 1.413 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/1.982, allocations: 6.906 kB / 1.413 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.982, allocations: 9.703 kB / 1.413 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.993, allocations: 6.381 MB / 1.419 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.993, allocations: 7.953 kB / 1.419 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007982/1.994, allocations: 175.7 kB / 1.419 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/1.996, allocations: 0.8065 MB / 1.42 GB, free: 116 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.997, allocations: 8 kB / 1.42 GB, free: 116 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/2.011, allocations: 19.45 MB / 1.439 GB, free: 95.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-06/2.011, allocations: 7.938 kB / 1.439 GB, free: 95.21 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/2.015, allocations: 3.147 MB / 1.442 GB, free: 91.85 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009975/2.016, allocations: 449.9 kB / 1.442 GB, free: 91.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/2.017, allocations: 7.984 kB / 1.442 GB, free: 91.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/2.018, allocations: 47.92 kB / 1.443 GB, free: 91.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/2.018, allocations: 125 kB / 1.443 GB, free: 91.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/2.018, allocations: 40 kB / 1.443 GB, free: 91.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001077/2.019, allocations: 0.781 MB / 1.443 GB, free: 90.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/2.019, allocations: 0 / 1.443 GB, free: 90.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00335/2.022, allocations: 0.7499 MB / 1.444 GB, free: 89.65 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004502/2.027, allocations: 4.892 MB / 1.449 GB, free: 84.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004455/2.031, allocations: 3.732 MB / 1.453 GB, free: 80.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/2.031, allocations: 0 / 1.453 GB, free: 80.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002887/2.034, allocations: 2.573 MB / 1.455 GB, free: 78.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/2.038, allocations: 0.599 MB / 1.456 GB, free: 77.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/2.053, allocations: 6.654 MB / 1.462 GB, free: 70.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004292/2.058, allocations: 3.185 MB / 1.465 GB, free: 67.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001891/2.06, allocations: 447.3 kB / 1.466 GB, free: 67.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/2.061, allocations: 1.546 MB / 1.467 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/2.061, allocations: 0 / 1.467 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09196/2.153, allocations: 56.58 MB / 1.522 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/2.154, allocations: 158.1 kB / 1.523 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/5.337, allocations: 4 kB / 1.523 GB, free: 9.395 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)