Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 102.9 kB / 16.93 MB, free: 6.16 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.001216/0.001216, allocations: 187.6 kB / 17.87 MB, free: 5.297 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.345/1.345, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7944/0.7944, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.91 kB / 0.4918 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3857, allocations: 77.92 MB / 0.5678 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01461/0.4003, allocations: 14.02 MB / 0.5815 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4136, allocations: 9.393 MB / 0.5907 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.4158, allocations: 54.66 kB / 0.5908 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.4202, allocations: 1.678 MB / 0.5924 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.4257, allocations: 1.55 MB / 0.5939 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.428, allocations: 0.7497 MB / 0.5946 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004015/0.432, allocations: 2.514 MB / 0.5971 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/0.4345, allocations: 1.414 MB / 0.5985 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.4368, allocations: 1.042 MB / 0.5995 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.4389, allocations: 1.14 MB / 0.6006 GB, free: 9.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006121/0.4396, allocations: 168 kB / 0.6008 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.4418, allocations: 0.7877 MB / 0.6015 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008459/0.4427, allocations: 0.6232 MB / 0.6022 GB, free: 7.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.4444, allocations: 0.9368 MB / 0.6031 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.4479, allocations: 2.73 MB / 0.6057 GB, free: 4.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.448, allocations: 0 / 0.6057 GB, free: 4.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.448, allocations: 4 kB / 0.6057 GB, free: 4.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.4481, allocations: 0 / 0.6057 GB, free: 4.105 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004041/0.4521, allocations: 2.143 MB / 0.6078 GB, free: 1.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4522, allocations: 12.62 kB / 0.6078 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.463, allocations: 2.089 MB / 0.6099 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.4657, allocations: 1.201 MB / 0.6111 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.4657, allocations: 90.73 kB / 0.6111 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.466, allocations: 120.1 kB / 0.6113 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/0.4715, allocations: 2.678 MB / 0.6139 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.4716, allocations: 11.94 kB / 0.6139 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.4718, allocations: 55.98 kB / 0.6139 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006428/0.4724, allocations: 178.1 kB / 0.6141 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007218/0.4796, allocations: 2.795 MB / 0.6168 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.4938, allocations: 10.51 MB / 0.6271 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006594/0.5004, allocations: 2.522 MB / 0.6296 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.5036, allocations: 1.284 MB / 0.6308 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/0.5037, allocations: 12.98 kB / 0.6308 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.5037, allocations: 47.55 kB / 0.6309 GB, free: 9.414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 4.138e-06/0.5037, allocations: 3.984 kB / 0.6309 GB, free: 9.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04645/0.5502, allocations: 13.35 MB / 0.6439 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.5503, allocations: 64.72 kB / 0.644 GB, free: 11.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.5517, allocations: 1.121 MB / 0.6451 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.5519, allocations: 49.7 kB / 0.6451 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.5525, allocations: 0.7154 MB / 0.6458 GB, free: 9.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.5529, allocations: 453.5 kB / 0.6462 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/0.5534, allocations: 259.4 kB / 0.6465 GB, free: 9.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5536, allocations: 365.9 kB / 0.6468 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003315/0.5569, allocations: 1.346 MB / 0.6482 GB, free: 7.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003414/0.5603, allocations: 1.596 MB / 0.6497 GB, free: 5.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006692/0.5671, allocations: 2.991 MB / 0.6526 GB, free: 2.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5671, allocations: 0 / 0.6526 GB, free: 2.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0112/0.5783, allocations: 4.45 MB / 0.657 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5783, allocations: 8.875 kB / 0.657 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5784, allocations: 8 kB / 0.657 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/0.5834, allocations: 1.446 MB / 0.6584 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.5855, allocations: 435.2 kB / 0.6588 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/0.6108, allocations: 26.69 MB / 0.6849 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.6136, allocations: 303.6 kB / 0.6852 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.6137, allocations: 63.91 kB / 0.6852 GB, free: 15.34 MB / 0.5294 GB 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007936/0.6145, allocations: 438.3 kB / 0.6857 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.6148, allocations: 162.1 kB / 0.6858 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.6259, allocations: 4.449 MB / 0.6902 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.626, allocations: 16 kB / 0.6902 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.626, allocations: 12 kB / 0.6902 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.626, allocations: 7.969 kB / 0.6902 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.6404, allocations: 6.774 MB / 0.6968 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.6404, allocations: 4 kB / 0.6968 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.6422, allocations: 375.3 kB / 0.6972 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/0.6466, allocations: 1.321 MB / 0.6985 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.6468, allocations: 39.95 kB / 0.6985 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02626/0.673, allocations: 25.5 MB / 0.7234 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6731, allocations: 4 kB / 0.7234 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.684, allocations: 4.208 MB / 0.7275 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.685, allocations: 459 kB / 0.728 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.6853, allocations: 27.98 kB / 0.728 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.6873, allocations: 312 kB / 0.7283 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/0.6878, allocations: 124.7 kB / 0.7284 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.6879, allocations: 51.95 kB / 0.7285 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0012/0.6891, allocations: 0.7526 MB / 0.7292 GB, free: 136 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6891, allocations: 0 / 0.7292 GB, free: 136 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002029/0.6912, allocations: 0.5703 MB / 0.7297 GB, free: 15.56 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/0.6915, allocations: 140.2 kB / 0.7299 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.7035, allocations: 5.517 MB / 0.7353 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.7035, allocations: 0 / 0.7353 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006803/0.7103, allocations: 3.488 MB / 0.7387 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.7128, allocations: 0.5552 MB / 0.7392 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008508/0.7213, allocations: 4.155 MB / 0.7433 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2777/0.999, allocations: 1.469 MB / 0.7447 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009068/0.9999, allocations: 134.1 kB / 0.7448 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.633e-06/1, allocations: 0.6875 kB / 0.7448 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.09848/1.098, allocations: 112.5 MB / 0.8547 GB, free: 62.71 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)