Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 104.9 kB / 16.64 MB, free: 6.816 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.001244/0.001244, allocations: 186 kB / 17.57 MB, free: 5.922 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.394/1.394, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7973/0.7973, allocations: 125.4 MB / 416.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 0.4943 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 78.56 MB / 0.571 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01415/0.3699, allocations: 14.67 MB / 0.5853 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.3821, allocations: 10.25 MB / 0.5953 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.3837, allocations: 54 kB / 0.5954 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.3875, allocations: 1.596 MB / 0.597 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.3925, allocations: 1.622 MB / 0.5985 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.3943, allocations: 0.687 MB / 0.5992 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.3978, allocations: 2.765 MB / 0.6019 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.3997, allocations: 1.585 MB / 0.6035 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.4017, allocations: 1.515 MB / 0.6049 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.4031, allocations: 1.203 MB / 0.6061 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.4033, allocations: 160 kB / 0.6063 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.4047, allocations: 0.7838 MB / 0.607 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.4051, allocations: 0.6037 MB / 0.6076 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008092/0.4059, allocations: 0.96 MB / 0.6086 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.4084, allocations: 2.213 MB / 0.6107 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4084, allocations: 0 / 0.6107 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4084, allocations: 4 kB / 0.6107 GB, free: 15.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.775e-05/0.4085, allocations: 0 / 0.6107 GB, free: 15.02 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004351/0.4129, allocations: 2.17 MB / 0.6128 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4129, allocations: 12.03 kB / 0.6129 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.4247, allocations: 2.097 MB / 0.6149 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.4278, allocations: 1.21 MB / 0.6161 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.4279, allocations: 94.69 kB / 0.6162 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.4282, allocations: 120 kB / 0.6163 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006274/0.4345, allocations: 2.672 MB / 0.6189 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.4346, allocations: 7.938 kB / 0.6189 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.4348, allocations: 55.98 kB / 0.619 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006445/0.4354, allocations: 190.1 kB / 0.6191 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007773/0.4432, allocations: 2.795 MB / 0.6219 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.4598, allocations: 10.52 MB / 0.6321 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006617/0.4665, allocations: 2.34 MB / 0.6344 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.4698, allocations: 1.284 MB / 0.6357 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/0.4699, allocations: 13 kB / 0.6357 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.4699, allocations: 39.56 kB / 0.6357 GB, free: 4.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 4.96e-06/0.4699, allocations: 0 / 0.6357 GB, free: 4.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.05952/0.5295, allocations: 16.48 MB / 0.6518 GB, free: 3.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.5296, allocations: 68.72 kB / 0.6519 GB, free: 3.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.5314, allocations: 1.172 MB / 0.653 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.5317, allocations: 53.7 kB / 0.6531 GB, free: 2.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006732/0.5323, allocations: 0.7436 MB / 0.6538 GB, free: 1.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/0.533, allocations: 0.516 MB / 0.6543 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006042/0.5336, allocations: 291.3 kB / 0.6546 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5337, allocations: 309 kB / 0.6549 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/0.5374, allocations: 1.51 MB / 0.6564 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/0.5414, allocations: 1.78 MB / 0.6581 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007576/0.5489, allocations: 3.369 MB / 0.6614 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.549, allocations: 4 kB / 0.6614 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01404/0.563, allocations: 5.276 MB / 0.6665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.5631, allocations: 8 kB / 0.6666 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.5631, allocations: 12.86 kB / 0.6666 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007092/0.5702, allocations: 1.899 MB / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.5723, allocations: 411.3 kB / 0.6688 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0328/0.6051, allocations: 24.15 MB / 0.6924 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.6078, allocations: 307.6 kB / 0.6927 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.608, allocations: 71.97 kB / 0.6928 GB, free: 8.535 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009268/0.609, allocations: 462.2 kB / 0.6932 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.6093, allocations: 177.9 kB / 0.6934 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.6232, allocations: 5.32 MB / 0.6986 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.6233, allocations: 20 kB / 0.6986 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-05/0.6233, allocations: 20.47 kB / 0.6986 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.6234, allocations: 8.062 kB / 0.6986 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/0.6407, allocations: 7.422 MB / 0.7059 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.6408, allocations: 8 kB / 0.7059 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.6425, allocations: 351.4 kB / 0.7062 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006375/0.6489, allocations: 1.723 MB / 0.7079 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.6491, allocations: 43.97 kB / 0.7079 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03101/0.6802, allocations: 23.3 MB / 0.7307 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6802, allocations: 4 kB / 0.7307 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.693, allocations: 4.893 MB / 0.7355 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.6942, allocations: 494.8 kB / 0.7359 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.6945, allocations: 35.94 kB / 0.736 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.6966, allocations: 319.5 kB / 0.7363 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/0.6972, allocations: 149 kB / 0.7364 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.6973, allocations: 59.95 kB / 0.7365 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001171/0.6985, allocations: 0.786 MB / 0.7372 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6985, allocations: 0 / 0.7372 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002154/0.7007, allocations: 0.6601 MB / 0.7379 GB, free: 8.891 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003028/0.701, allocations: 131.2 kB / 0.738 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01259/0.7136, allocations: 5.432 MB / 0.7433 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.7136, allocations: 0 / 0.7433 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.2529/0.9665, allocations: 3.347 MB / 0.7466 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.9696, allocations: 0.5471 MB / 0.7471 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.98, allocations: 5.126 MB / 0.7521 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.982, allocations: 1.57 MB / 0.7537 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/0.9828, allocations: 128.4 kB / 0.7538 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.9828, allocations: 3.172 kB / 0.7538 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.06987/1.053, allocations: 85.71 MB / 0.8375 GB, free: 83.19 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)