Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001186/0.001186, allocations: 97.67 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 176.8 kB / 16.57 MB, free: 6.859 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.424/1.424, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7153/0.7153, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 13.84 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3871/0.5993, allocations: 30.59 MB / 0.5867 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.6156, allocations: 9.642 MB / 0.5961 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003649/0.6193, allocations: 119 kB / 0.5962 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.622, allocations: 0.6821 MB / 0.5969 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00746/0.6295, allocations: 1.568 MB / 0.5984 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.6348, allocations: 1.177 MB / 0.5996 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009263/0.6441, allocations: 3.891 MB / 0.6034 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01882/0.663, allocations: 10.39 MB / 0.6135 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00584/0.6689, allocations: 2.128 MB / 0.6156 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005651/0.6745, allocations: 2.207 MB / 0.6178 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.6765, allocations: 281 kB / 0.618 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.6805, allocations: 0.5275 MB / 0.6186 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003136/0.6836, allocations: 1.922 MB / 0.6204 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002701/0.6863, allocations: 1.032 MB / 0.6214 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008872/0.6952, allocations: 8.41 MB / 0.6297 GB, free: 15.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6952, allocations: 0 / 0.6297 GB, free: 15.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6953, allocations: 0 / 0.6297 GB, free: 15.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003355/0.6956, allocations: 0 / 0.6297 GB, free: 15.16 MB / 462.1 MB 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.01167/0.7073, allocations: 4.372 MB / 0.6339 GB, free: 11.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7073, allocations: 8.031 kB / 0.6339 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005414/0.7128, allocations: 0.911 MB / 0.6348 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008693/0.7215, allocations: 2.921 MB / 0.6377 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/0.722, allocations: 353.6 kB / 0.638 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003139/0.7252, allocations: 467.9 kB / 0.6385 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/0.7414, allocations: 7.835 MB / 0.6461 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.7416, allocations: 19.88 kB / 0.6461 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004986/0.7421, allocations: 215.9 kB / 0.6463 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.7426, allocations: 369.1 kB / 0.6467 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.7542, allocations: 5.894 MB / 0.6524 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.8027, allocations: 36.25 MB / 0.6878 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.8063, allocations: 2.127 MB / 0.6899 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.8065, allocations: 17.31 kB / 0.6899 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.8066, allocations: 55.88 kB / 0.69 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=157): time 5.24e-06/0.8066, allocations: 3.984 kB / 0.69 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.01496/0.8215, allocations: 7.532 MB / 0.6973 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.8216, allocations: 72.72 kB / 0.6974 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.8247, allocations: 1.845 MB / 0.6992 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.8251, allocations: 53.7 kB / 0.6993 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.8267, allocations: 2.127 MB / 0.7013 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/0.8274, allocations: 0.5546 MB / 0.7019 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.8275, allocations: 44 kB / 0.7019 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.8278, allocations: 398.3 kB / 0.7023 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.8294, allocations: 1.051 MB / 0.7033 GB, free: 476 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.8314, allocations: 1.748 MB / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.8333, allocations: 1.345 MB / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.8334, allocations: 12 kB / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006688/0.84, allocations: 3.893 MB / 0.7102 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.8401, allocations: 16 kB / 0.7102 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.8402, allocations: 24 kB / 0.7102 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.8427, allocations: 0.9357 MB / 0.7111 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.8444, allocations: 423.3 kB / 0.7115 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/0.8668, allocations: 21.43 MB / 0.7325 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.8694, allocations: 119.9 kB / 0.7326 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.8696, allocations: 96 kB / 0.7327 GB, free: 436 kB / 0.545 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.003705/0.8733, allocations: 1.652 MB / 0.7343 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008069/0.8742, allocations: 253 kB / 0.7345 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.8802, allocations: 3.252 MB / 0.7377 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.8802, allocations: 16 kB / 0.7377 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/0.8802, allocations: 12 kB / 0.7377 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.8803, allocations: 7.969 kB / 0.7377 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.8957, allocations: 7.537 MB / 0.7451 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.8957, allocations: 4 kB / 0.7451 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.8967, allocations: 211.6 kB / 0.7453 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/0.8992, allocations: 0.9052 MB / 0.7462 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.8994, allocations: 31.98 kB / 0.7462 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/0.9202, allocations: 21.39 MB / 0.7671 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.9203, allocations: 4 kB / 0.7671 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006382/0.9267, allocations: 3.697 MB / 0.7707 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.9284, allocations: 0.5331 MB / 0.7712 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.9288, allocations: 32 kB / 0.7713 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.9298, allocations: 99.88 kB / 0.7713 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.9302, allocations: 137 kB / 0.7715 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.757e-05/0.9303, allocations: 43.98 kB / 0.7715 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001882/0.9322, allocations: 1.205 MB / 0.7727 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9322, allocations: 0 / 0.7727 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003435/0.9357, allocations: 0.9102 MB / 0.7736 GB, free: 4.379 MB / 0.5919 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.00036/0.936, allocations: 164.6 kB / 0.7737 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007234/0.9433, allocations: 4.404 MB / 0.778 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.9433, allocations: 0 / 0.778 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004532/0.9479, allocations: 3 MB / 0.781 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/0.9518, allocations: 0.741 MB / 0.7817 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/0.97, allocations: 9.235 MB / 0.7907 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/0.9741, allocations: 3.29 MB / 0.7939 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002371/0.9765, allocations: 0.5293 MB / 0.7944 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.9768, allocations: 139.4 kB / 0.7946 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of SimCode: time 1.143e-06/0.9768, allocations: 0 / 0.7946 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.3803/1.357, allocations: 39.72 MB / 0.8334 GB, free: 212.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)