Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001288/0.001288, allocations: 105.8 kB / 16.94 MB, free: 6.191 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.001226/0.001226, allocations: 191.6 kB / 17.86 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.444/1.444, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8509/0.8509, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.11 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4122, allocations: 78.55 MB / 0.5715 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008548/0.4208, allocations: 6.715 MB / 0.5781 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.4258, allocations: 3.029 MB / 0.581 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.4267, allocations: 24.44 kB / 0.5811 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.429, allocations: 0.9528 MB / 0.582 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.4305, allocations: 0.5049 MB / 0.5825 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4316, allocations: 421.8 kB / 0.5829 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.4328, allocations: 1.231 MB / 0.5841 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008988/0.4338, allocations: 0.6623 MB / 0.5847 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.4343, allocations: 468.5 kB / 0.5852 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.4349, allocations: 0.5177 MB / 0.5857 GB, free: 21.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.435, allocations: 66.78 kB / 0.5858 GB, free: 21.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007498/0.4358, allocations: 380.8 kB / 0.5861 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.436, allocations: 304.7 kB / 0.5864 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.4364, allocations: 448.1 kB / 0.5868 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.4375, allocations: 1.207 MB / 0.588 GB, free: 20.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4375, allocations: 3.938 kB / 0.588 GB, free: 20.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4376, allocations: 1.375 kB / 0.588 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.4376, allocations: 0 / 0.588 GB, free: 20.37 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.001677/0.4393, allocations: 1.156 MB / 0.5891 GB, free: 19.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4393, allocations: 10.5 kB / 0.5892 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.4408, allocations: 236.8 kB / 0.5894 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.4416, allocations: 0.5532 MB / 0.5899 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.4416, allocations: 46.86 kB / 0.59 GB, free: 18.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4418, allocations: 66.7 kB / 0.59 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.4432, allocations: 1.087 MB / 0.5911 GB, free: 18.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.4432, allocations: 6.469 kB / 0.5911 GB, free: 18.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.4433, allocations: 29.17 kB / 0.5911 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.4434, allocations: 84.97 kB / 0.5912 GB, free: 18.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.4446, allocations: 0.7515 MB / 0.5919 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.4491, allocations: 5.896 MB / 0.5977 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.45, allocations: 0.5594 MB / 0.5982 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.4503, allocations: 322 kB / 0.5986 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.4504, allocations: 8.438 kB / 0.5986 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.4504, allocations: 38.98 kB / 0.5986 GB, free: 11.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.935e-06/0.4504, allocations: 0 / 0.5986 GB, free: 11.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003331/0.4537, allocations: 1.986 MB / 0.6005 GB, free: 9.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.4538, allocations: 59.84 kB / 0.6006 GB, free: 9.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.4543, allocations: 0.5585 MB / 0.6011 GB, free: 8.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4543, allocations: 37.7 kB / 0.6012 GB, free: 8.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4545, allocations: 410.9 kB / 0.6016 GB, free: 8.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.4546, allocations: 169.6 kB / 0.6017 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.4548, allocations: 134.5 kB / 0.6019 GB, free: 7.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.4549, allocations: 374.7 kB / 0.6022 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.4552, allocations: 273.8 kB / 0.6025 GB, free: 7.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.4556, allocations: 493 kB / 0.6029 GB, free: 6.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.4564, allocations: 0.8132 MB / 0.6037 GB, free: 5.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4564, allocations: 0 / 0.6037 GB, free: 5.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001403/0.4578, allocations: 1.082 MB / 0.6048 GB, free: 4.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4578, allocations: 8 kB / 0.6048 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4578, allocations: 8.875 kB / 0.6048 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/0.4586, allocations: 279.2 kB / 0.6051 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.459, allocations: 127.8 kB / 0.6052 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.465, allocations: 7.146 MB / 0.6122 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.4658, allocations: 36.03 kB / 0.6122 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.4658, allocations: 32 kB / 0.6122 GB, free: 12.27 MB / 462.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.0004486/0.4663, allocations: 253.5 kB / 0.6125 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.4664, allocations: 71.16 kB / 0.6126 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.468, allocations: 0.8885 MB / 0.6134 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4681, allocations: 11.94 kB / 0.6134 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4681, allocations: 0 / 0.6134 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4681, allocations: 4 kB / 0.6134 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.4709, allocations: 1.721 MB / 0.6151 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4709, allocations: 192 / 0.6151 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.4712, allocations: 71.83 kB / 0.6152 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000758/0.472, allocations: 263.4 kB / 0.6154 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.472, allocations: 12 kB / 0.6155 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007744/0.4798, allocations: 7.133 MB / 0.6224 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4798, allocations: 4.031 kB / 0.6224 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.4816, allocations: 0.9834 MB / 0.6234 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.482, allocations: 188.3 kB / 0.6236 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.4821, allocations: 11.98 kB / 0.6236 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4825, allocations: 35.91 kB / 0.6236 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4827, allocations: 43.94 kB / 0.6237 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.4827, allocations: 16 kB / 0.6237 GB, free: 15.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005512/0.4833, allocations: 379.1 kB / 0.624 GB, free: 15.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4833, allocations: 0 / 0.624 GB, free: 15.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009377/0.4842, allocations: 224 kB / 0.6242 GB, free: 15.24 MB / 478.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.0002062/0.4845, allocations: 115.2 kB / 0.6244 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.4868, allocations: 1.338 MB / 0.6257 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.4869, allocations: 4.125 kB / 0.6257 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.4884, allocations: 0.8896 MB / 0.6265 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4895, allocations: 225.3 kB / 0.6267 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.4924, allocations: 1.418 MB / 0.6281 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.4932, allocations: 1.009 MB / 0.6291 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4934, allocations: 43.44 kB / 0.6292 GB, free: 10.01 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4934, allocations: 0 / 0.6292 GB, free: 10.01 MB / 478.1 MB Notification: Performance of Templates: time 0.02888/0.5223, allocations: 20.64 MB / 0.6493 GB, free: 5.438 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)