Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000983/0.0009827, allocations: 170.9 kB / 326.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008193, allocations: 81.12 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 10.94 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1897, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02208/0.2119, allocations: 30.04 MB / 0.9261 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.2285, allocations: 13.6 MB / 0.9394 GB, free: 24.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.2318, allocations: 131.2 kB / 0.9395 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.006742/0.2386, allocations: 2.949 MB / 0.9424 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007129/0.2457, allocations: 2.476 MB / 0.9448 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.2505, allocations: 1.841 MB / 0.9466 GB, free: 17.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00909/0.2596, allocations: 10.4 MB / 0.9567 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.2701, allocations: 9.006 MB / 0.9655 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.2748, allocations: 2.63 MB / 0.9681 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.2792, allocations: 2.934 MB / 0.971 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006852/0.2799, allocations: 244 kB / 0.9712 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.2828, allocations: 1.376 MB / 0.9726 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.2847, allocations: 1.913 MB / 0.9744 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002757/0.2874, allocations: 2.351 MB / 0.9767 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.2948, allocations: 7.769 MB / 0.9843 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2948, allocations: 0 / 0.9843 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2948, allocations: 0 / 0.9843 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002444/0.295, allocations: 4 kB / 0.9843 GB, free: 10.18 MB / 0.6355 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.008071/0.3031, allocations: 4.15 MB / 0.9884 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3032, allocations: 12.03 kB / 0.9884 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00581/0.309, allocations: 1.002 MB / 0.9893 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.3149, allocations: 2.888 MB / 0.9922 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.3152, allocations: 324.8 kB / 0.9925 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.3164, allocations: 420.1 kB / 0.9929 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.328, allocations: 6.788 MB / 0.9995 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.3281, allocations: 23.77 kB / 0.9995 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.3285, allocations: 184 kB / 0.9997 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007594/0.3293, allocations: 372 kB / 1 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008571/0.3379, allocations: 5.114 MB / 1.005 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.3691, allocations: 30.76 MB / 1.035 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.371, allocations: 1.384 MB / 1.036 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3726, allocations: 1.332 MB / 1.038 GB, free: 200 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.3727, allocations: 17.31 kB / 1.038 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.3727, allocations: 51.88 kB / 1.038 GB, free: 124 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 5.119e-06/0.3728, allocations: 0 / 1.038 GB, free: 124 kB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.4464/0.8192, allocations: 22.79 MB / 1.06 GB, free: 141.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8192, allocations: 77.03 kB / 1.06 GB, free: 141.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/0.823, allocations: 2.06 MB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.8234, allocations: 57.83 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.825, allocations: 2.007 MB / 1.064 GB, free: 140.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008445/0.8259, allocations: 0.6798 MB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/0.8262, allocations: 184.9 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.8263, allocations: 302.5 kB / 1.065 GB, free: 139.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.8288, allocations: 1.428 MB / 1.067 GB, free: 139.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.8316, allocations: 2.015 MB / 1.069 GB, free: 138.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.8367, allocations: 3.696 MB / 1.072 GB, free: 136 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.8368, allocations: 5 kB / 1.072 GB, free: 136 MB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01138/0.8482, allocations: 5.663 MB / 1.078 GB, free: 133.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.8482, allocations: 11.81 kB / 1.078 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.8483, allocations: 15.84 kB / 1.078 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006299/0.8546, allocations: 2.088 MB / 1.08 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.856, allocations: 379.6 kB / 1.08 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/0.8852, allocations: 35.54 MB / 1.115 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.8877, allocations: 122 kB / 1.115 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.8879, allocations: 100.8 kB / 1.115 GB, free: 102.6 MB / 0.698 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 (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002611/0.8905, allocations: 1.508 MB / 1.117 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/0.891, allocations: 281.8 kB / 1.117 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008321/0.8994, allocations: 5.215 MB / 1.122 GB, free: 96.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.8994, allocations: 16 kB / 1.122 GB, free: 96.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-05/0.8994, allocations: 20 kB / 1.122 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.8994, allocations: 8.25 kB / 1.122 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.9135, allocations: 9.679 MB / 1.131 GB, free: 86.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.9135, allocations: 11.89 kB / 1.132 GB, free: 86.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.9143, allocations: 219.6 kB / 1.132 GB, free: 86.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005132/0.9194, allocations: 1.839 MB / 1.134 GB, free: 84.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.9196, allocations: 44 kB / 1.134 GB, free: 84.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/0.9449, allocations: 34.55 MB / 1.167 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9449, allocations: 11.94 kB / 1.167 GB, free: 47.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/0.9528, allocations: 4.91 MB / 1.172 GB, free: 42.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.9542, allocations: 0.6186 MB / 1.173 GB, free: 41.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.9546, allocations: 44 kB / 1.173 GB, free: 41.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.9559, allocations: 127.8 kB / 1.173 GB, free: 41.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006088/0.9565, allocations: 202.8 kB / 1.173 GB, free: 41.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.9566, allocations: 52 kB / 1.173 GB, free: 41.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001547/0.9582, allocations: 1.382 MB / 1.174 GB, free: 39.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9582, allocations: 0 / 1.174 GB, free: 39.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003258/0.9614, allocations: 1.031 MB / 1.175 GB, free: 38.81 MB / 0.698 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 (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002857/0.9617, allocations: 171.8 kB / 1.176 GB, free: 38.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007904/0.9697, allocations: 6.265 MB / 1.182 GB, free: 32.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.9697, allocations: 0.875 kB / 1.182 GB, free: 32.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005316/0.975, allocations: 4.399 MB / 1.186 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005809/0.9808, allocations: 0.922 MB / 1.187 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.993, allocations: 10.59 MB / 1.197 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.9957, allocations: 3.178 MB / 1.2 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.9963, allocations: 163.4 kB / 1.201 GB, free: 12.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/0.9963, allocations: 0 / 1.201 GB, free: 12.61 MB / 0.698 GB Notification: Performance of Templates: time 0.6963/1.693, allocations: 464 MB / 1.654 GB, free: 49.19 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)