Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001545/0.001546, allocations: 191.3 kB / 17.87 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7823/0.7823, allocations: 122.9 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 0.4918 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3456, allocations: 77.92 MB / 0.5679 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02252/0.3682, allocations: 23.38 MB / 0.5907 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.3789, allocations: 6.5 MB / 0.597 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.382, allocations: 99.56 kB / 0.5971 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.3861, allocations: 1.49 MB / 0.5986 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.3907, allocations: 1.823 MB / 0.6004 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.3943, allocations: 1.472 MB / 0.6018 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007167/0.4015, allocations: 6.912 MB / 0.6086 GB, free: 1.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009307/0.4108, allocations: 6.996 MB / 0.6154 GB, free: 10 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.4157, allocations: 2.828 MB / 0.6181 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005595/0.4213, allocations: 3.47 MB / 0.6215 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.4229, allocations: 0.5312 MB / 0.6221 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.4265, allocations: 1.174 MB / 0.6232 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003755/0.4303, allocations: 2.468 MB / 0.6256 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004729/0.4351, allocations: 2.532 MB / 0.6281 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.4453, allocations: 8.468 MB / 0.6364 GB, free: 4.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4453, allocations: 4 kB / 0.6364 GB, free: 4.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4454, allocations: 0 / 0.6364 GB, free: 4.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002601/0.4456, allocations: 0 / 0.6364 GB, free: 4.465 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01133/0.457, allocations: 4.428 MB / 0.6407 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.457, allocations: 8.031 kB / 0.6407 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008978/0.466, allocations: 1.685 MB / 0.6423 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005819/0.4719, allocations: 2.567 MB / 0.6448 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4721, allocations: 279.7 kB / 0.6451 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.4734, allocations: 356.3 kB / 0.6454 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.4881, allocations: 7.487 MB / 0.6528 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-05/0.4883, allocations: 15.86 kB / 0.6528 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005271/0.4888, allocations: 163.9 kB / 0.6529 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005884/0.4894, allocations: 479.4 kB / 0.6534 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.5002, allocations: 5.701 MB / 0.659 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.5378, allocations: 31.72 MB / 0.6899 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.5408, allocations: 2.086 MB / 0.692 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.5439, allocations: 2.186 MB / 0.6941 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.5441, allocations: 17.31 kB / 0.6941 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.5441, allocations: 47.81 kB / 0.6942 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/0.5442, allocations: 0 / 0.6942 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5855/1.13, allocations: 76.99 MB / 0.7694 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.13, allocations: 77 kB / 0.7694 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/1.132, allocations: 1.667 MB / 0.7711 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005088/1.133, allocations: 70.14 kB / 0.7711 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/1.134, allocations: 1.746 MB / 0.7728 GB, free: 150 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/1.134, allocations: 0.8493 MB / 0.7737 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008863/1.135, allocations: 483.6 kB / 0.7741 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/1.135, allocations: 301.1 kB / 0.7744 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/1.138, allocations: 2.735 MB / 0.7771 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/1.142, allocations: 3.33 MB / 0.7803 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006411/1.148, allocations: 6.4 MB / 0.7866 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/1.148, allocations: 7.938 kB / 0.7866 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02808/1.176, allocations: 14.68 MB / 0.8009 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/1.176, allocations: 12 kB / 0.8009 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.176, allocations: 17.09 kB / 0.8009 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02592/1.202, allocations: 9.291 MB / 0.81 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.203, allocations: 309.1 kB / 0.8103 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06596/1.269, allocations: 52.38 MB / 0.8615 GB, free: 61.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/1.273, allocations: 223.7 kB / 0.8617 GB, free: 60.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003785/1.273, allocations: 96 kB / 0.8618 GB, free: 60.7 MB / 0.5762 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002632/1.276, allocations: 1.59 MB / 0.8633 GB, free: 59.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/1.277, allocations: 245.1 kB / 0.8636 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02801/1.305, allocations: 14.76 MB / 0.878 GB, free: 44.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/1.305, allocations: 24 kB / 0.878 GB, free: 44.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001387/1.305, allocations: 51.92 kB / 0.878 GB, free: 43.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/1.305, allocations: 17.97 kB / 0.8781 GB, free: 43.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03754/1.342, allocations: 20.51 MB / 0.8981 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/1.342, allocations: 8 kB / 0.8981 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/1.343, allocations: 171.7 kB / 0.8983 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02649/1.37, allocations: 9.051 MB / 0.9071 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005703/1.37, allocations: 48 kB / 0.9071 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07535/1.446, allocations: 51.95 MB / 0.9579 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.446, allocations: 8 kB / 0.9579 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0338/1.48, allocations: 14.37 MB / 0.9719 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/1.482, allocations: 0.8415 MB / 0.9727 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009755/1.483, allocations: 55.89 kB / 0.9728 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/1.486, allocations: 203.7 kB / 0.973 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/1.487, allocations: 241.5 kB / 0.9732 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003406/1.488, allocations: 64 kB / 0.9733 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001995/1.49, allocations: 1.129 MB / 0.9744 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/1.49, allocations: 0 / 0.9744 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00581/1.495, allocations: 1.609 MB / 0.976 GB, free: 6.512 MB / 0.6387 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005795/1.496, allocations: 171 kB / 0.9761 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02512/1.521, allocations: 11.34 MB / 0.9872 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.521, allocations: 0.875 kB / 0.9872 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0185/1.54, allocations: 7.299 MB / 0.9943 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/1.544, allocations: 0.5623 MB / 0.9949 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2842/1.828, allocations: 9.384 MB / 1.004 GB, free: 217.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005909/1.834, allocations: 3.302 MB / 1.007 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/1.835, allocations: 110.7 kB / 1.007 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.323e-06/1.835, allocations: 0 / 1.007 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1684/2.003, allocations: 187.6 MB / 1.191 GB, free: 51.32 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)