Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 103.7 kB / 16.52 MB, free: 6.656 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.001464/0.001464, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7145/0.7145, allocations: 115.3 MB / 406.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 493.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 76.17 MB / 0.5564 GB, free: 36.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02924/0.3666, allocations: 32.29 MB / 0.5879 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.3829, allocations: 10.27 MB / 0.598 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.3866, allocations: 135.1 kB / 0.5981 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008638/0.3953, allocations: 3.477 MB / 0.6015 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.4011, allocations: 1.738 MB / 0.6032 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.407, allocations: 1.937 MB / 0.6051 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.4187, allocations: 10.59 MB / 0.6154 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01771/0.4364, allocations: 10.61 MB / 0.6258 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.4421, allocations: 2.693 MB / 0.6284 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006334/0.4485, allocations: 3.551 MB / 0.6319 GB, free: 7.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002257/0.4508, allocations: 452 kB / 0.6323 GB, free: 6.891 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00555/0.4563, allocations: 1.88 MB / 0.6341 GB, free: 5.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004156/0.4605, allocations: 2.339 MB / 0.6364 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006055/0.4666, allocations: 2.672 MB / 0.639 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.4769, allocations: 8.582 MB / 0.6474 GB, free: 7.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4769, allocations: 3.984 kB / 0.6474 GB, free: 7.375 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4769, allocations: 3.938 kB / 0.6474 GB, free: 7.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.4773, allocations: 3.938 kB / 0.6474 GB, free: 7.367 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01407/0.4914, allocations: 4.986 MB / 0.6523 GB, free: 2.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4915, allocations: 15.97 kB / 0.6523 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.4982, allocations: 0.9551 MB / 0.6532 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/0.5042, allocations: 2.859 MB / 0.656 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.5045, allocations: 345.7 kB / 0.6564 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.506, allocations: 464.2 kB / 0.6568 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.5209, allocations: 7.663 MB / 0.6643 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.5211, allocations: 35.7 kB / 0.6643 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007032/0.5218, allocations: 196 kB / 0.6645 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003473/0.5222, allocations: 309 kB / 0.6648 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.5331, allocations: 5.71 MB / 0.6704 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03705/0.5702, allocations: 35.1 MB / 0.7047 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.573, allocations: 2.16 MB / 0.7068 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.5745, allocations: 1.264 MB / 0.708 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/0.5746, allocations: 13.31 kB / 0.708 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5746, allocations: 47.88 kB / 0.7081 GB, free: 5.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=133): time 3.266e-06/0.5747, allocations: 0 / 0.7081 GB, free: 5.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=136): time 0.01323/0.5879, allocations: 7.092 MB / 0.715 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.588, allocations: 72.66 kB / 0.7151 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.5898, allocations: 1.484 MB / 0.7165 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.59, allocations: 45.7 kB / 0.7166 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.5911, allocations: 2.004 MB / 0.7185 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.5916, allocations: 493.1 kB / 0.719 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004925/0.5921, allocations: 347.1 kB / 0.7193 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.5922, allocations: 301.1 kB / 0.7196 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.5934, allocations: 0.9135 MB / 0.7205 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.5951, allocations: 1.593 MB / 0.722 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.5983, allocations: 2.737 MB / 0.7247 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.5984, allocations: 8 kB / 0.7247 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005981/0.6044, allocations: 3.527 MB / 0.7282 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.6044, allocations: 16.22 kB / 0.7282 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.6044, allocations: 24 kB / 0.7282 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.6071, allocations: 0.8998 MB / 0.7291 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6082, allocations: 347.4 kB / 0.7294 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2786/0.8868, allocations: 21.21 MB / 0.7501 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.8885, allocations: 103.7 kB / 0.7502 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.8886, allocations: 83.7 kB / 0.7503 GB, free: 149.7 MB / 0.5762 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002809/0.8914, allocations: 1.614 MB / 0.7519 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.8919, allocations: 204.9 kB / 0.7521 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/0.8973, allocations: 2.985 MB / 0.755 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.8974, allocations: 13.25 kB / 0.755 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/0.8974, allocations: 10.22 kB / 0.755 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.8974, allocations: 7.547 kB / 0.755 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.9103, allocations: 7.35 MB / 0.7622 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.9103, allocations: 9.688 kB / 0.7622 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/0.9111, allocations: 182.7 kB / 0.7624 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/0.9136, allocations: 0.8223 MB / 0.7632 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.9138, allocations: 26.06 kB / 0.7632 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.9296, allocations: 20.3 MB / 0.783 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.9296, allocations: 8.797 kB / 0.783 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.9349, allocations: 3.026 MB / 0.786 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009924/0.936, allocations: 458.8 kB / 0.7864 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.9362, allocations: 30.28 kB / 0.7865 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.9369, allocations: 70 kB / 0.7865 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/0.9374, allocations: 132 kB / 0.7867 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.9375, allocations: 35.66 kB / 0.7867 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001338/0.9388, allocations: 0.9783 MB / 0.7877 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9388, allocations: 0 / 0.7877 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003084/0.9419, allocations: 0.7882 MB / 0.7884 GB, free: 124.6 MB / 0.5762 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002533/0.9422, allocations: 140.4 kB / 0.7886 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005289/0.9475, allocations: 4.02 MB / 0.7925 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.9475, allocations: 2.312 kB / 0.7925 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.9508, allocations: 2.731 MB / 0.7952 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.9538, allocations: 0.6646 MB / 0.7958 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.9658, allocations: 9.791 MB / 0.8054 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/0.9686, allocations: 3.184 MB / 0.8085 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.9691, allocations: 129.8 kB / 0.8086 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.9691, allocations: 0 / 0.8086 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.4867/1.456, allocations: 321.5 MB / 1.123 GB, free: 90.07 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)