Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001181/0.001181, allocations: 91.75 kB / 16.67 MB, free: 6.594 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.001454/0.001454, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.337/1.337, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7083/0.7083, allocations: 115.5 MB / 408.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3879, allocations: 77.51 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006924/0.3949, allocations: 6.36 MB / 0.5668 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.4001, allocations: 3.03 MB / 0.5698 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.4008, allocations: 24.94 kB / 0.5698 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.4013, allocations: 133.8 kB / 0.5699 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4026, allocations: 486.6 kB / 0.5704 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.4038, allocations: 410 kB / 0.5708 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.4057, allocations: 1.591 MB / 0.5723 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.4077, allocations: 1.013 MB / 0.5733 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000888/0.4086, allocations: 386.6 kB / 0.5737 GB, free: 28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.4095, allocations: 0.4987 MB / 0.5742 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.4096, allocations: 35.62 kB / 0.5742 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4106, allocations: 441 kB / 0.5746 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.411, allocations: 262.2 kB / 0.5749 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.4114, allocations: 436.9 kB / 0.5753 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4126, allocations: 0.917 MB / 0.5762 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4126, allocations: 0 / 0.5762 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4126, allocations: 0.5 kB / 0.5762 GB, free: 27.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.4126, allocations: 0 / 0.5762 GB, free: 27.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001708/0.4144, allocations: 1.018 MB / 0.5772 GB, free: 26.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4144, allocations: 12.09 kB / 0.5772 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.416, allocations: 238.3 kB / 0.5774 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.4169, allocations: 0.5591 MB / 0.578 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.4169, allocations: 44.03 kB / 0.578 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.417, allocations: 66.94 kB / 0.5781 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.4188, allocations: 1.091 MB / 0.5791 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.4188, allocations: 7.516 kB / 0.5791 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.4189, allocations: 29.12 kB / 0.5792 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.4191, allocations: 84.34 kB / 0.5792 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.4203, allocations: 0.7522 MB / 0.58 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.4259, allocations: 5.908 MB / 0.5858 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.4272, allocations: 0.5601 MB / 0.5863 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.4279, allocations: 331.5 kB / 0.5866 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.428, allocations: 6.453 kB / 0.5866 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.428, allocations: 38.31 kB / 0.5867 GB, free: 19.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 3.397e-06/0.428, allocations: 4 kB / 0.5867 GB, free: 19.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.004005/0.432, allocations: 2.004 MB / 0.5886 GB, free: 18.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4321, allocations: 56.81 kB / 0.5887 GB, free: 18.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.4327, allocations: 0.5586 MB / 0.5892 GB, free: 18.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.4328, allocations: 37.05 kB / 0.5893 GB, free: 18.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.4331, allocations: 416.5 kB / 0.5896 GB, free: 17.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4332, allocations: 171.3 kB / 0.5898 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.4333, allocations: 58.06 kB / 0.5899 GB, free: 17.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4334, allocations: 377.9 kB / 0.5902 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.4338, allocations: 275.3 kB / 0.5905 GB, free: 17.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.4343, allocations: 497.4 kB / 0.591 GB, free: 16.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.4352, allocations: 0.8059 MB / 0.5918 GB, free: 16.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4352, allocations: 3.219 kB / 0.5918 GB, free: 16.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00177/0.437, allocations: 1.09 MB / 0.5928 GB, free: 15.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.4371, allocations: 8.75 kB / 0.5928 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.4371, allocations: 6.406 kB / 0.5928 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008492/0.4379, allocations: 273.4 kB / 0.5931 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.4384, allocations: 125.3 kB / 0.5932 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.4435, allocations: 6.61 MB / 0.5997 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.4442, allocations: 42.25 kB / 0.5997 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.4443, allocations: 31.77 kB / 0.5997 GB, free: 9.035 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0004266/0.4447, allocations: 258.1 kB / 0.6 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.4449, allocations: 68.81 kB / 0.6001 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.4465, allocations: 0.8958 MB / 0.6009 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4465, allocations: 5.406 kB / 0.6009 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4465, allocations: 7 kB / 0.6009 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4465, allocations: 0 / 0.6009 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.4489, allocations: 1.723 MB / 0.6026 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4489, allocations: 8.312 kB / 0.6026 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.4491, allocations: 63.95 kB / 0.6027 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006639/0.4498, allocations: 267.1 kB / 0.6029 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4498, allocations: 8 kB / 0.603 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.4545, allocations: 6.587 MB / 0.6094 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4545, allocations: 11.91 kB / 0.6094 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.4562, allocations: 0.9874 MB / 0.6104 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.4566, allocations: 188.2 kB / 0.6105 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.4567, allocations: 15.94 kB / 0.6106 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.4571, allocations: 31.95 kB / 0.6106 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4572, allocations: 39.89 kB / 0.6106 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.4572, allocations: 16 kB / 0.6106 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005268/0.4578, allocations: 391.1 kB / 0.611 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4578, allocations: 4 kB / 0.611 GB, free: 13.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009513/0.4587, allocations: 224 kB / 0.6112 GB, free: 13.26 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.4589, allocations: 111.2 kB / 0.6113 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.4609, allocations: 1.275 MB / 0.6126 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.461, allocations: 4 kB / 0.6126 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.4622, allocations: 0.8858 MB / 0.6134 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.4634, allocations: 208 kB / 0.6136 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.4658, allocations: 1.734 MB / 0.6153 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.4665, allocations: 1.02 MB / 0.6163 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4666, allocations: 47.42 kB / 0.6164 GB, free: 7.789 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4666, allocations: 0 / 0.6164 GB, free: 7.789 MB / 462.1 MB Notification: Performance of Templates: time 0.02483/0.4915, allocations: 20.75 MB / 0.6366 GB, free: 3.109 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)