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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.484/1.484, allocations: 288.4 MB / 303.6 MB, free: 8.02 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.001095/0.001095, allocations: 178.9 kB / 372.2 MB, free: 10.09 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.345/1.345, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007426/0.0007427, allocations: 90.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 15.88 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02103/0.1947, allocations: 27.87 MB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.2128, allocations: 12.83 MB / 1.02 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.2155, allocations: 123.2 kB / 1.02 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2176, allocations: 0.6317 MB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.2234, allocations: 2.302 MB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.2268, allocations: 1.288 MB / 1.024 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008641/0.2354, allocations: 8.427 MB / 1.032 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.249, allocations: 10.03 MB / 1.042 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.2541, allocations: 2.561 MB / 1.045 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/0.2587, allocations: 2.838 MB / 1.047 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0008662/0.2596, allocations: 244 kB / 1.048 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.2623, allocations: 1.322 MB / 1.049 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.2639, allocations: 1.894 MB / 1.051 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.2662, allocations: 2.276 MB / 1.053 GB, free: 292 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006008/0.2722, allocations: 7.765 MB / 1.061 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2722, allocations: 4 kB / 1.061 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2723, allocations: 3.938 kB / 1.061 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001319/0.2724, allocations: 0 / 1.061 GB, free: 8.492 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.006719/0.2791, allocations: 4.154 MB / 1.065 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2792, allocations: 8.031 kB / 1.065 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007/0.2799, allocations: 0.6164 MB / 1.065 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.2845, allocations: 0.9981 MB / 1.066 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3413/0.6258, allocations: 2.891 MB / 1.069 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.6261, allocations: 320.6 kB / 1.069 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.6272, allocations: 417.7 kB / 1.07 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.6375, allocations: 6.762 MB / 1.076 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.315e-05/0.6376, allocations: 18.98 kB / 1.076 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.638, allocations: 184.6 kB / 1.077 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000839/0.6388, allocations: 370.3 kB / 1.077 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008072/0.6469, allocations: 5.087 MB / 1.082 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.6707, allocations: 30.77 MB / 1.112 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.6723, allocations: 1.385 MB / 1.113 GB, free: 50.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.6737, allocations: 1.329 MB / 1.115 GB, free: 49.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.46e-05/0.6737, allocations: 18.7 kB / 1.115 GB, free: 49.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6738, allocations: 47.75 kB / 1.115 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 2.394e-06/0.6738, allocations: 0 / 1.115 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.07474/0.7485, allocations: 22.79 MB / 1.137 GB, free: 38.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.7486, allocations: 73.41 kB / 1.137 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.7504, allocations: 2.042 MB / 1.139 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.7506, allocations: 57.7 kB / 1.139 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.7513, allocations: 2.01 MB / 1.141 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.7516, allocations: 0.6765 MB / 1.142 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.7517, allocations: 44 kB / 1.142 GB, free: 33.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.7518, allocations: 406.6 kB / 1.142 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.7533, allocations: 1.418 MB / 1.144 GB, free: 31.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.755, allocations: 1.998 MB / 1.145 GB, free: 29.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.7584, allocations: 3.68 MB / 1.149 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.7584, allocations: 8 kB / 1.149 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008109/0.7665, allocations: 5.635 MB / 1.155 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7665, allocations: 12 kB / 1.155 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.7665, allocations: 20.03 kB / 1.155 GB, free: 20.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/0.7719, allocations: 2.088 MB / 1.157 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.773, allocations: 376.5 kB / 1.157 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/0.8011, allocations: 35.51 MB / 1.192 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.803, allocations: 128.2 kB / 1.192 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.8032, allocations: 95.94 kB / 1.192 GB, free: 11.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.002252/0.8055, allocations: 1.501 MB / 1.193 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004716/0.806, allocations: 288.6 kB / 1.194 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008907/0.8149, allocations: 5.198 MB / 1.199 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.8149, allocations: 23.98 kB / 1.199 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/0.8149, allocations: 20 kB / 1.199 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.815, allocations: 11.95 kB / 1.199 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.8298, allocations: 9.666 MB / 1.208 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.8298, allocations: 8 kB / 1.208 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.8305, allocations: 217 kB / 1.208 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005149/0.8357, allocations: 1.834 MB / 1.21 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.8359, allocations: 44 kB / 1.21 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02977/0.8656, allocations: 34.52 MB / 1.244 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.8657, allocations: 11.88 kB / 1.244 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/0.8735, allocations: 4.899 MB / 1.249 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.8746, allocations: 0.6264 MB / 1.249 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.875, allocations: 36 kB / 1.249 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.8763, allocations: 127.8 kB / 1.25 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/0.8767, allocations: 197.4 kB / 1.25 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.8769, allocations: 63.75 kB / 1.25 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001703/0.8786, allocations: 1.355 MB / 1.251 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8786, allocations: 0 / 1.251 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00262/0.8812, allocations: 1.035 MB / 1.252 GB, free: 10.96 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007896/0.8891, allocations: 5.521 MB / 1.258 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008309/0.8974, allocations: 6.253 MB / 1.264 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8975, allocations: 0.875 kB / 1.264 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005382/0.9028, allocations: 4.393 MB / 1.268 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/0.9077, allocations: 0.9067 MB / 1.269 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03528/0.943, allocations: 25.38 MB / 1.294 GB, free: 14.31 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/0.946, allocations: 3.127 MB / 1.297 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001437/0.9474, allocations: 0.5198 MB / 1.297 GB, free: 10.63 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.949, allocations: 1.675 MB / 1.299 GB, free: 8.953 MB / 0.823 GB Notification: Performance of SimCode: time 3e-07/0.949, allocations: 0 / 1.299 GB, free: 8.953 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.264/4.213, allocations: 86.23 MB / 1.383 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/4.214, allocations: 236.1 kB / 1.383 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.232/8.446, allocations: 4 kB / 1.383 GB, free: 3.398 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)