Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.85/1.85, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001194/0.001194, allocations: 178.8 kB / 371.6 MB, free: 3.43 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.731/1.731, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001235/0.001235, allocations: 90.02 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.386e-05/5.415e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3119, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.286, allocations: 172.4 MB / 1.148 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/1.287, allocations: 96.08 kB / 1.148 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.5097/1.797, allocations: 201.3 MB / 1.345 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.076e-06/1.797, allocations: 4 kB / 1.345 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0006505/1.797, allocations: 151.9 kB / 1.345 GB, free: 10.72 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02021/1.818, allocations: 4.872 MB / 1.35 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 8.931e-05/1.818, allocations: 12.03 kB / 1.35 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005044/1.823, allocations: 0.8175 MB / 1.351 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009827/1.833, allocations: 1.143 MB / 1.352 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/1.845, allocations: 3.685 MB / 1.355 GB, free: 60 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006454/1.846, allocations: 431.6 kB / 1.356 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003485/1.85, allocations: 0.5546 MB / 1.356 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/1.879, allocations: 8.707 MB / 1.365 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/1.879, allocations: 31.73 kB / 1.365 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003081/1.882, allocations: 256 kB / 1.365 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005691/1.883, allocations: 295 kB / 1.365 GB, free: 5.363 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7837/2.667, allocations: 6.323 MB / 1.372 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06495/2.732, allocations: 41.47 MB / 1.412 GB, free: 129.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/2.737, allocations: 3.069 MB / 1.415 GB, free: 129.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/2.74, allocations: 2.13 MB / 1.417 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/2.74, allocations: 20.44 kB / 1.417 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/2.74, allocations: 61.22 kB / 1.417 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 4.078e-06/2.74, allocations: 0 / 1.417 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.01202/2.752, allocations: 6.589 MB / 1.424 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/2.752, allocations: 75.22 kB / 1.424 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/2.755, allocations: 1.646 MB / 1.425 GB, free: 128 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/2.755, allocations: 68.17 kB / 1.425 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/2.757, allocations: 2.368 MB / 1.428 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/2.757, allocations: 0.735 MB / 1.428 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/2.758, allocations: 48.66 kB / 1.428 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001549/2.758, allocations: 413.2 kB / 1.429 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/2.759, allocations: 1.296 MB / 1.43 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/2.762, allocations: 2.072 MB / 1.432 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/2.765, allocations: 1.677 MB / 1.434 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/2.765, allocations: 6.344 kB / 1.434 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01213/2.777, allocations: 4.923 MB / 1.439 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/2.777, allocations: 16.25 kB / 1.439 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-05/2.777, allocations: 27.31 kB / 1.439 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/2.783, allocations: 1.519 MB / 1.44 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/2.786, allocations: 442.8 kB / 1.441 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/2.815, allocations: 16.96 MB / 1.457 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/2.819, allocations: 150.8 kB / 1.457 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/2.82, allocations: 106.5 kB / 1.457 GB, free: 119.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/2.821, allocations: 263 kB / 1.458 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/2.822, allocations: 285.7 kB / 1.458 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009052/2.831, allocations: 4.41 MB / 1.462 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/2.831, allocations: 21.84 kB / 1.462 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.702e-05/2.831, allocations: 16.44 kB / 1.462 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.66e-05/2.831, allocations: 16.97 kB / 1.462 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/2.854, allocations: 9.603 MB / 1.472 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/2.854, allocations: 9.875 kB / 1.472 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/2.855, allocations: 234.8 kB / 1.472 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/2.858, allocations: 1.393 MB / 1.473 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/2.859, allocations: 41.34 kB / 1.473 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/2.881, allocations: 16.96 MB / 1.49 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.881, allocations: 5.781 kB / 1.49 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/2.891, allocations: 4.841 MB / 1.495 GB, free: 106 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/2.894, allocations: 0.6262 MB / 1.495 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/2.895, allocations: 45.19 kB / 1.495 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/2.897, allocations: 117.4 kB / 1.495 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000665/2.898, allocations: 180.6 kB / 1.496 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/2.898, allocations: 57.88 kB / 1.496 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002509/2.901, allocations: 1.241 MB / 1.497 GB, free: 105 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.4e-07/2.901, allocations: 0 / 1.497 GB, free: 105 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005796/2.907, allocations: 1.17 MB / 1.498 GB, free: 104.9 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008418/2.915, allocations: 6.565 MB / 1.504 GB, free: 101 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008604/2.924, allocations: 4.529 MB / 1.509 GB, free: 99.06 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/2.924, allocations: 7.188 kB / 1.509 GB, free: 99.06 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004675/2.928, allocations: 2.858 MB / 1.512 GB, free: 97.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/2.934, allocations: 0.7644 MB / 1.512 GB, free: 97.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/2.966, allocations: 8.89 MB / 1.521 GB, free: 94.25 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008384/2.974, allocations: 3.789 MB / 1.525 GB, free: 92.92 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003259/2.978, allocations: 0.5408 MB / 1.525 GB, free: 92.89 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003157/2.981, allocations: 1.944 MB / 1.527 GB, free: 91.22 MB / 0.9323 GB Notification: Performance of SimCode: time 3.486e-06/2.981, allocations: 1.344 kB / 1.527 GB, free: 91.22 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/3.143, allocations: 81.73 MB / 1.607 GB, free: 87.98 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/3.144, allocations: 199.7 kB / 1.607 GB, free: 87.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.633/7.776, allocations: 0 / 1.607 GB, free: 87.75 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)