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.001712/0.001712, allocations: 102.5 kB / 16.4 MB, free: 6.492 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.001709/0.001709, allocations: 196 kB / 17.34 MB, free: 5.73 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7189/0.7189, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.53 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1535, 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.007811/0.1614, allocations: 5.056 MB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005644/0.1671, allocations: 3.366 MB / 0.6403 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.1675, allocations: 15.88 kB / 0.6403 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.1693, allocations: 0.5076 MB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1703, allocations: 395.4 kB / 0.6412 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.171, allocations: 263.4 kB / 0.6414 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000906/0.1719, allocations: 0.6502 MB / 0.6421 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.1727, allocations: 0.5287 MB / 0.6426 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.1731, allocations: 295.1 kB / 0.6429 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.1735, allocations: 299 kB / 0.6432 GB, free: 9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.1736, allocations: 44 kB / 0.6432 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005318/0.1741, allocations: 311.5 kB / 0.6435 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1743, allocations: 167.6 kB / 0.6437 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1745, allocations: 238.9 kB / 0.6439 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.1754, allocations: 0.8297 MB / 0.6447 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1754, allocations: 0 / 0.6447 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1754, allocations: 0 / 0.6447 GB, free: 7.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1755, allocations: 0 / 0.6447 GB, free: 7.422 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.00142/0.1769, allocations: 0.8026 MB / 0.6455 GB, free: 6.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1769, allocations: 12.03 kB / 0.6455 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.1798, allocations: 0.6828 MB / 0.6462 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.1807, allocations: 471.7 kB / 0.6466 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1807, allocations: 25.02 kB / 0.6466 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.1808, allocations: 36.11 kB / 0.6467 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1824, allocations: 0.8395 MB / 0.6475 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1824, allocations: 4 kB / 0.6475 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.1825, allocations: 12 kB / 0.6475 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.1826, allocations: 60.58 kB / 0.6476 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.1847, allocations: 0.9272 MB / 0.6485 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.1886, allocations: 2.855 MB / 0.6513 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.1903, allocations: 0.5488 MB / 0.6518 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.191, allocations: 308.6 kB / 0.6521 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.1912, allocations: 89.03 kB / 0.6522 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1912, allocations: 38.56 kB / 0.6522 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/0.1912, allocations: 0 / 0.6522 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01332/0.2046, allocations: 3.492 MB / 0.6556 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2046, allocations: 55.41 kB / 0.6557 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.2051, allocations: 400.3 kB / 0.6561 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.2052, allocations: 37.64 kB / 0.6561 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2053, allocations: 231.9 kB / 0.6563 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2054, allocations: 114.4 kB / 0.6564 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.2056, allocations: 81.67 kB / 0.6565 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2058, allocations: 346.8 kB / 0.6568 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.2067, allocations: 388.5 kB / 0.6572 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2077, allocations: 464.2 kB / 0.6576 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.2097, allocations: 0.8437 MB / 0.6585 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2097, allocations: 0 / 0.6585 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005442/0.2152, allocations: 1.65 MB / 0.6601 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2152, allocations: 16.12 kB / 0.6601 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2152, allocations: 0 / 0.6601 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/0.2194, allocations: 0.8723 MB / 0.6609 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.2201, allocations: 127.8 kB / 0.6611 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009033/0.2291, allocations: 6.68 MB / 0.6676 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.23, allocations: 107.8 kB / 0.6677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.2301, allocations: 19.94 kB / 0.6677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.2313, allocations: 0.5778 MB / 0.6683 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001022/0.2324, allocations: 448.2 kB / 0.6687 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001903/0.2343, allocations: 0.8155 MB / 0.6695 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2343, allocations: 3.938 kB / 0.6695 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005019/0.2393, allocations: 1.641 MB / 0.6711 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2394, allocations: 4.188 kB / 0.6711 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2394, allocations: 8 kB / 0.6711 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.2421, allocations: 0.643 MB / 0.6717 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.2429, allocations: 135.8 kB / 0.6719 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/0.25, allocations: 7.284 MB / 0.679 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/0.2509, allocations: 107.9 kB / 0.6791 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.251, allocations: 19.98 kB / 0.6791 GB, free: 2.508 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.0002057/0.2512, allocations: 201.7 kB / 0.6793 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2513, allocations: 39.47 kB / 0.6793 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/0.2564, allocations: 1.54 MB / 0.6808 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2564, allocations: 4 kB / 0.6808 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2564, allocations: 0 / 0.6808 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2564, allocations: 0 / 0.6808 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/0.2621, allocations: 2.205 MB / 0.683 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.2621, allocations: 4 kB / 0.683 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.2625, allocations: 83.83 kB / 0.6831 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.2661, allocations: 0.8101 MB / 0.6839 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.2661, allocations: 7.984 kB / 0.6839 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007529/0.2737, allocations: 6.527 MB / 0.6903 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2737, allocations: 0 / 0.6903 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.2784, allocations: 1.526 MB / 0.6917 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.2787, allocations: 176.6 kB / 0.6919 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.2788, allocations: 8 kB / 0.6919 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.2795, allocations: 83.86 kB / 0.692 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.2796, allocations: 35.89 kB / 0.692 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.2797, allocations: 12 kB / 0.692 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003967/0.2801, allocations: 311 kB / 0.6923 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2801, allocations: 0 / 0.6923 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009381/0.281, allocations: 240 kB / 0.6926 GB, free: 4.125 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.0001698/0.2812, allocations: 119.1 kB / 0.6927 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00462/0.2858, allocations: 2.226 MB / 0.6949 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2858, allocations: 0 / 0.6949 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.2873, allocations: 0.8006 MB / 0.6956 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.288, allocations: 125.9 kB / 0.6958 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.2901, allocations: 1.148 MB / 0.6969 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.2906, allocations: 0.9296 MB / 0.6978 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004862/0.2911, allocations: 167.2 kB / 0.698 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.2912, allocations: 39.41 kB / 0.698 GB, free: 14.38 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2912, allocations: 0 / 0.698 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Templates: time 0.02104/0.3123, 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)