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_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.643/1.643, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005753, allocations: 12 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6847, allocations: 106.3 MB / 0.728 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0359/0.7206, allocations: 30.62 MB / 0.7579 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.7411, allocations: 9.665 MB / 0.7673 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004707/0.7458, allocations: 119.2 kB / 0.7674 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.7495, allocations: 0.6754 MB / 0.7681 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008023/0.7576, allocations: 1.569 MB / 0.7696 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.7633, allocations: 1.168 MB / 0.7708 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.7738, allocations: 3.885 MB / 0.7746 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02262/0.7964, allocations: 10.39 MB / 0.7847 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006981/0.8035, allocations: 2.133 MB / 0.7868 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007328/0.8108, allocations: 2.203 MB / 0.7889 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.8131, allocations: 280 kB / 0.7892 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.817, allocations: 0.5307 MB / 0.7897 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004938/0.8219, allocations: 1.921 MB / 0.7916 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003901/0.8259, allocations: 1.034 MB / 0.7926 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.8391, allocations: 8.406 MB / 0.8008 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8391, allocations: 4 kB / 0.8008 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.486e-06/0.8391, allocations: 0 / 0.8008 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004632/0.8396, allocations: 0 / 0.8008 GB, free: 0.7227 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01557/0.8552, allocations: 4.37 MB / 0.8051 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8552, allocations: 8.031 kB / 0.8051 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.8615, allocations: 0.9033 MB / 0.806 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009558/0.871, allocations: 2.937 MB / 0.8088 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/0.8717, allocations: 357.5 kB / 0.8092 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002333/0.874, allocations: 468 kB / 0.8096 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.8966, allocations: 7.824 MB / 0.8173 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/0.8969, allocations: 19.78 kB / 0.8173 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001682/0.8986, allocations: 212 kB / 0.8175 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006635/0.8993, allocations: 369.1 kB / 0.8179 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.9133, allocations: 5.902 MB / 0.8236 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04883/0.9622, allocations: 36.25 MB / 0.859 GB, free: 1.395 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/0.9672, allocations: 2.134 MB / 0.8611 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.9674, allocations: 21.3 kB / 0.8611 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.293e-05/0.9675, allocations: 55.78 kB / 0.8612 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 5.801e-06/0.9676, allocations: 4 kB / 0.8612 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01744/0.985, allocations: 7.521 MB / 0.8685 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.9851, allocations: 84.59 kB / 0.8686 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.9886, allocations: 1.841 MB / 0.8704 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.9888, allocations: 53.7 kB / 0.8704 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.9906, allocations: 2.13 MB / 0.8725 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.9912, allocations: 0.5468 MB / 0.8731 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.9914, allocations: 48 kB / 0.8731 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002492/0.9916, allocations: 390.3 kB / 0.8735 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.9933, allocations: 1.055 MB / 0.8745 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.9957, allocations: 1.74 MB / 0.8762 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.9979, allocations: 1.357 MB / 0.8775 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.9979, allocations: 8 kB / 0.8775 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007248/1.005, allocations: 3.897 MB / 0.8813 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.005, allocations: 18.19 kB / 0.8814 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/1.005, allocations: 20 kB / 0.8814 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/1.008, allocations: 0.9317 MB / 0.8823 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.009, allocations: 435.2 kB / 0.8827 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/1.033, allocations: 21.42 MB / 0.9036 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.035, allocations: 131.8 kB / 0.9038 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004766/1.036, allocations: 99.97 kB / 0.9038 GB, free: 1.098 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(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.004151/1.04, allocations: 1.647 MB / 0.9055 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009206/1.041, allocations: 249.1 kB / 0.9057 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/1.047, allocations: 3.252 MB / 0.9089 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.047, allocations: 23.89 kB / 0.9089 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.677e-05/1.047, allocations: 8 kB / 0.9089 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/1.047, allocations: 11.97 kB / 0.9089 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.064, allocations: 7.533 MB / 0.9163 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.064, allocations: 4 kB / 0.9163 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/1.065, allocations: 219.7 kB / 0.9165 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/1.067, allocations: 0.8887 MB / 0.9173 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/1.067, allocations: 36 kB / 0.9174 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5876/1.655, allocations: 21.37 MB / 0.9383 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/1.655, allocations: 9.531 kB / 0.9383 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008681/1.663, allocations: 3.707 MB / 0.9419 GB, free: 156.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/1.665, allocations: 0.5338 MB / 0.9424 GB, free: 156.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.666, allocations: 31.44 kB / 0.9424 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.667, allocations: 92.88 kB / 0.9425 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/1.668, allocations: 143.2 kB / 0.9427 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.668, allocations: 50.2 kB / 0.9427 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001955/1.67, allocations: 1.204 MB / 0.9439 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.67, allocations: 0 / 0.9439 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003999/1.674, allocations: 0.9053 MB / 0.9448 GB, free: 155.7 MB / 0.7325 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/1.674, allocations: 156.5 kB / 0.9449 GB, free: 155.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006757/1.681, allocations: 4.404 MB / 0.9492 GB, free: 153.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.681, allocations: 5.75 kB / 0.9492 GB, free: 153.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/1.684, allocations: 2.996 MB / 0.9521 GB, free: 151.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.688, allocations: 0.7394 MB / 0.9529 GB, free: 151 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.703, allocations: 9.243 MB / 0.9619 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/1.706, allocations: 3.289 MB / 0.9651 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002031/1.708, allocations: 0.5258 MB / 0.9656 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/1.709, allocations: 146.5 kB / 0.9658 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.312e-06/1.709, allocations: 0 / 0.9658 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06464/1.773, allocations: 39.72 MB / 1.005 GB, free: 106.3 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: