Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 285.4 MB / 298 MB, free: 5.969 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.001874/0.001874, allocations: 180.9 kB / 366.4 MB, free: 2.059 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.611/1.611, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.000791/0.000791, allocations: 87.44 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.546e-05, allocations: 8 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8189/0.819, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/1.071, allocations: 171.1 MB / 1.138 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.072, allocations: 94.42 kB / 1.138 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.205/2.277, allocations: 199.2 MB / 1.333 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.934e-06/2.277, allocations: 0 / 1.333 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003553/2.277, allocations: 138.7 kB / 1.333 GB, free: 184.2 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01645/2.294, allocations: 4.45 MB / 1.337 GB, free: 182 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/2.294, allocations: 7.562 kB / 1.337 GB, free: 182 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003883/2.298, allocations: 0.8072 MB / 1.338 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008771/2.306, allocations: 1.05 MB / 1.339 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009817/2.316, allocations: 3.401 MB / 1.342 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/2.317, allocations: 409.3 kB / 1.343 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002927/2.32, allocations: 0.5364 MB / 1.343 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/2.343, allocations: 8.498 MB / 1.352 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002538/2.344, allocations: 30.97 kB / 1.352 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/2.345, allocations: 241.1 kB / 1.352 GB, free: 175 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003232/2.345, allocations: 314.2 kB / 1.352 GB, free: 175 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/2.36, allocations: 6.04 MB / 1.358 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04587/2.406, allocations: 40.11 MB / 1.397 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/2.409, allocations: 3.06 MB / 1.4 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/2.411, allocations: 1.949 MB / 1.402 GB, free: 135 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/2.411, allocations: 19.41 kB / 1.402 GB, free: 135 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/2.411, allocations: 51.84 kB / 1.402 GB, free: 135 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.408e-06/2.411, allocations: 0 / 1.402 GB, free: 135 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01058/2.422, allocations: 6.044 MB / 1.408 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/2.422, allocations: 69.41 kB / 1.408 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/2.424, allocations: 1.295 MB / 1.409 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/2.424, allocations: 53.7 kB / 1.409 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009264/2.425, allocations: 2.229 MB / 1.412 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/2.425, allocations: 0.6283 MB / 1.412 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/2.426, allocations: 48 kB / 1.412 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/2.426, allocations: 398.3 kB / 1.413 GB, free: 126 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/2.427, allocations: 1.144 MB / 1.414 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/2.429, allocations: 1.827 MB / 1.416 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/2.43, allocations: 1.497 MB / 1.417 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/2.43, allocations: 4 kB / 1.417 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006403/2.437, allocations: 4.491 MB / 1.421 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/2.437, allocations: 19.95 kB / 1.421 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/2.437, allocations: 20 kB / 1.421 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/2.44, allocations: 1.577 MB / 1.423 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/2.441, allocations: 355.3 kB / 1.423 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/2.458, allocations: 17.01 MB / 1.44 GB, free: 97.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/2.46, allocations: 119.9 kB / 1.44 GB, free: 97.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/2.461, allocations: 99.98 kB / 1.44 GB, free: 97.04 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 (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.0003517/2.461, allocations: 228.4 kB / 1.44 GB, free: 96.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/2.461, allocations: 221.4 kB / 1.441 GB, free: 96.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/2.467, allocations: 4.04 MB / 1.444 GB, free: 92.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/2.467, allocations: 23.95 kB / 1.444 GB, free: 92.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/2.467, allocations: 16 kB / 1.445 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/2.467, allocations: 7.969 kB / 1.445 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/2.482, allocations: 9.378 MB / 1.454 GB, free: 82.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/2.482, allocations: 4 kB / 1.454 GB, free: 82.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/2.483, allocations: 183.7 kB / 1.454 GB, free: 82.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/2.486, allocations: 1.342 MB / 1.455 GB, free: 81.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/2.486, allocations: 39.94 kB / 1.455 GB, free: 81.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/2.502, allocations: 15.86 MB / 1.471 GB, free: 64.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/2.502, allocations: 11.94 kB / 1.471 GB, free: 64.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006221/2.508, allocations: 4.317 MB / 1.475 GB, free: 60.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/2.51, allocations: 0.5256 MB / 1.475 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/2.51, allocations: 39.98 kB / 1.475 GB, free: 59.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/2.511, allocations: 87.86 kB / 1.476 GB, free: 59.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/2.511, allocations: 161.7 kB / 1.476 GB, free: 59.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/2.511, allocations: 48 kB / 1.476 GB, free: 59.49 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001236/2.513, allocations: 0.97 MB / 1.477 GB, free: 58.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/2.513, allocations: 0 / 1.477 GB, free: 58.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003717/2.516, allocations: 1.031 MB / 1.478 GB, free: 57.46 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 (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.006395/2.523, allocations: 6.067 MB / 1.484 GB, free: 51.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005975/2.529, allocations: 4.187 MB / 1.488 GB, free: 46.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/2.529, allocations: 448 / 1.488 GB, free: 46.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003656/2.532, allocations: 2.622 MB / 1.49 GB, free: 44.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/2.536, allocations: 0.6784 MB / 1.491 GB, free: 43.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/2.554, allocations: 8.275 MB / 1.499 GB, free: 35.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/2.558, allocations: 3.664 MB / 1.503 GB, free: 31.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001722/2.559, allocations: 469.6 kB / 1.503 GB, free: 31.15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/2.561, allocations: 1.788 MB / 1.505 GB, free: 29.36 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/2.561, allocations: 0 / 1.505 GB, free: 29.36 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/2.684, allocations: 71.83 MB / 1.575 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/2.684, allocations: 202.8 kB / 1.575 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/6.52, allocations: 0 / 1.575 GB, free: 5.992 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)