Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 107.1 kB / 16.4 MB, free: 6.508 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.001092/0.001092, allocations: 196 kB / 17.34 MB, free: 5.742 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7432/0.7432, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 69.45 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1483, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006842/0.1552, allocations: 5.064 MB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.16, allocations: 3.37 MB / 0.6403 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.1603, allocations: 11.94 kB / 0.6403 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.1619, allocations: 0.4979 MB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008677/0.1627, allocations: 397.9 kB / 0.6412 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.1634, allocations: 278 kB / 0.6415 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007775/0.1641, allocations: 0.6464 MB / 0.6421 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.1648, allocations: 0.5287 MB / 0.6426 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.1651, allocations: 287.1 kB / 0.6429 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.1655, allocations: 299 kB / 0.6432 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.1656, allocations: 48 kB / 0.6432 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.1661, allocations: 307.5 kB / 0.6435 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1662, allocations: 171.6 kB / 0.6437 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.1665, allocations: 238.9 kB / 0.6439 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.1673, allocations: 0.8258 MB / 0.6447 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1673, allocations: 4 kB / 0.6447 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1673, allocations: 3.938 kB / 0.6447 GB, free: 7.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1673, allocations: 0 / 0.6447 GB, free: 7.41 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001336/0.1687, allocations: 0.7988 MB / 0.6455 GB, free: 6.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1687, allocations: 8.031 kB / 0.6455 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.1718, allocations: 0.6867 MB / 0.6462 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/0.1725, allocations: 471.7 kB / 0.6466 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1725, allocations: 25.03 kB / 0.6466 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.1726, allocations: 32.12 kB / 0.6467 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.1743, allocations: 0.8317 MB / 0.6475 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1743, allocations: 4 kB / 0.6475 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.1744, allocations: 27.91 kB / 0.6475 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.1745, allocations: 56.52 kB / 0.6476 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.1767, allocations: 0.9312 MB / 0.6485 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.1805, allocations: 2.844 MB / 0.6513 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.1824, allocations: 0.5565 MB / 0.6518 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.1832, allocations: 304.6 kB / 0.6521 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1833, allocations: 89.09 kB / 0.6522 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1833, allocations: 34.56 kB / 0.6522 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.1833, allocations: 0 / 0.6522 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0136/0.1969, allocations: 3.496 MB / 0.6556 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.197, allocations: 55.41 kB / 0.6557 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.1976, allocations: 404.3 kB / 0.6561 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.1977, allocations: 29.7 kB / 0.6561 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1979, allocations: 239.9 kB / 0.6563 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.198, allocations: 106.4 kB / 0.6564 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1982, allocations: 81.67 kB / 0.6565 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1983, allocations: 346.8 kB / 0.6568 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.1994, allocations: 396.5 kB / 0.6572 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.2004, allocations: 468.2 kB / 0.6577 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.2026, allocations: 0.8359 MB / 0.6585 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2026, allocations: 0 / 0.6585 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005541/0.2081, allocations: 1.654 MB / 0.6601 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2082, allocations: 9.344 kB / 0.6601 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2082, allocations: 8 kB / 0.6601 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/0.2122, allocations: 0.8763 MB / 0.661 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.2129, allocations: 131.8 kB / 0.6611 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008501/0.2215, allocations: 6.669 MB / 0.6676 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009255/0.2224, allocations: 107.8 kB / 0.6677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.2225, allocations: 23.92 kB / 0.6677 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/0.2238, allocations: 0.5773 MB / 0.6683 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.2248, allocations: 448.2 kB / 0.6687 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00207/0.2269, allocations: 0.8116 MB / 0.6695 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.2269, allocations: 0 / 0.6695 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005075/0.232, allocations: 1.641 MB / 0.6711 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.232, allocations: 17.86 kB / 0.6711 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2321, allocations: 3.938 kB / 0.6711 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.2349, allocations: 0.6393 MB / 0.6718 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.2356, allocations: 135.8 kB / 0.6719 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/0.2429, allocations: 7.284 MB / 0.679 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.2438, allocations: 107.8 kB / 0.6791 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.2439, allocations: 23.92 kB / 0.6791 GB, free: 2.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.2441, allocations: 192.2 kB / 0.6793 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.2442, allocations: 43.47 kB / 0.6793 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/0.2494, allocations: 1.544 MB / 0.6809 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2494, allocations: 7.938 kB / 0.6809 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2494, allocations: 8 kB / 0.6809 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.2494, allocations: 3.984 kB / 0.6809 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/0.2553, allocations: 2.197 MB / 0.683 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2553, allocations: 0 / 0.683 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.2557, allocations: 79.89 kB / 0.6831 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/0.2593, allocations: 0.8178 MB / 0.6839 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.2594, allocations: 8 kB / 0.6839 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007644/0.267, allocations: 6.523 MB / 0.6903 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2671, allocations: 4.219 kB / 0.6903 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.2718, allocations: 1.518 MB / 0.6918 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.2721, allocations: 184.6 kB / 0.6919 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.2722, allocations: 4 kB / 0.6919 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.2729, allocations: 83.86 kB / 0.692 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.2731, allocations: 39.89 kB / 0.6921 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.2731, allocations: 8 kB / 0.6921 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004278/0.2735, allocations: 307.1 kB / 0.6924 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2736, allocations: 0 / 0.6924 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001013/0.2746, allocations: 240 kB / 0.6926 GB, free: 4.117 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.2748, allocations: 123 kB / 0.6927 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004685/0.2795, allocations: 2.222 MB / 0.6949 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2795, allocations: 0 / 0.6949 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.281, allocations: 0.8006 MB / 0.6957 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.2817, allocations: 125.2 kB / 0.6958 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2837, allocations: 1.139 MB / 0.6969 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.2842, allocations: 0.9296 MB / 0.6978 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005198/0.2847, allocations: 163.2 kB / 0.6979 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2848, allocations: 35.41 kB / 0.698 GB, free: 14.38 MB / 0.545 GB Notification: Performance of SimCode: time 5.92e-07/0.2848, allocations: 8 kB / 0.698 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Templates: time 0.02115/0.306, allocations: 14.79 MB / 0.7124 GB, free: 15.66 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)