Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001389/0.001389, allocations: 196 kB / 17.34 MB, free: 5.719 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6833/0.6833, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 64.84 kB / 0.5577 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 76.19 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0129/0.1322, allocations: 11.82 MB / 0.6436 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007775/0.14, allocations: 5.498 MB / 0.649 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007215/0.1408, allocations: 39.88 kB / 0.649 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.1434, allocations: 1.045 MB / 0.6501 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.1446, allocations: 0.6491 MB / 0.6507 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1464, allocations: 0.9157 MB / 0.6516 GB, free: 348 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.1488, allocations: 2.454 MB / 0.654 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.1521, allocations: 3.515 MB / 0.6574 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1535, allocations: 1.126 MB / 0.6585 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.1549, allocations: 1.219 MB / 0.6597 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.1552, allocations: 232 kB / 0.6599 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.1561, allocations: 0.5267 MB / 0.6604 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006938/0.1568, allocations: 0.9006 MB / 0.6613 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.1577, allocations: 0.9922 MB / 0.6623 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.1605, allocations: 3.557 MB / 0.6658 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1605, allocations: 4 kB / 0.6658 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1605, allocations: 0 / 0.6658 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.1605, allocations: 0 / 0.6658 GB, free: 1.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003116/0.1636, allocations: 1.948 MB / 0.6677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1637, allocations: 8.031 kB / 0.6677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.1661, allocations: 494.4 kB / 0.6682 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.1677, allocations: 1.12 MB / 0.6692 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.1678, allocations: 123.4 kB / 0.6694 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.1681, allocations: 152.1 kB / 0.6695 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/0.1719, allocations: 2.758 MB / 0.6722 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.1719, allocations: 4 kB / 0.6722 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.1721, allocations: 63.98 kB / 0.6723 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002665/0.1724, allocations: 143 kB / 0.6724 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.1758, allocations: 2.307 MB / 0.6747 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.1867, allocations: 10.39 MB / 0.6848 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.1879, allocations: 0.6154 MB / 0.6854 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.1886, allocations: 396.6 kB / 0.6858 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.1887, allocations: 92.97 kB / 0.6859 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1887, allocations: 42.5 kB / 0.6859 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.1887, allocations: 0 / 0.6859 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.0213/0.21, allocations: 5.831 MB / 0.6916 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2101, allocations: 55.84 kB / 0.6917 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.2112, allocations: 0.8866 MB / 0.6925 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.2113, allocations: 33.7 kB / 0.6926 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.2118, allocations: 0.7499 MB / 0.6933 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.212, allocations: 193.4 kB / 0.6935 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.2123, allocations: 190.5 kB / 0.6937 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2125, allocations: 386.8 kB / 0.694 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.2136, allocations: 0.6527 MB / 0.6947 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.2149, allocations: 1.014 MB / 0.6957 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.2173, allocations: 1.67 MB / 0.6973 GB, free: 15.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.2173, allocations: 4 kB / 0.6973 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008352/0.2257, allocations: 3.131 MB / 0.7003 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.2257, allocations: 8 kB / 0.7004 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.2257, allocations: 15.94 kB / 0.7004 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/0.2324, allocations: 1.646 MB / 0.702 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/0.2333, allocations: 227.6 kB / 0.7022 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.2466, allocations: 10.59 MB / 0.7125 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.2478, allocations: 167.6 kB / 0.7127 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2479, allocations: 47.98 kB / 0.7127 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001932/0.2499, allocations: 1.314 MB / 0.714 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001268/0.2512, allocations: 0.9825 MB / 0.715 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002296/0.2535, allocations: 1.611 MB / 0.7166 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.587e-06/0.2535, allocations: 8 kB / 0.7166 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006885/0.2604, allocations: 2.658 MB / 0.7192 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2604, allocations: 11.98 kB / 0.7192 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2604, allocations: 12 kB / 0.7192 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/0.2647, allocations: 1.063 MB / 0.7202 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.2657, allocations: 251.6 kB / 0.7205 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007282/0.273, allocations: 5.74 MB / 0.7261 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.2743, allocations: 159.8 kB / 0.7262 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.2744, allocations: 51.92 kB / 0.7263 GB, free: 1.023 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.2747, allocations: 243.9 kB / 0.7265 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.2749, allocations: 71.16 kB / 0.7266 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007279/0.2822, allocations: 2.575 MB / 0.7291 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2822, allocations: 8 kB / 0.7291 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2822, allocations: 0 / 0.7291 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.2823, allocations: 3.984 kB / 0.7291 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.292, allocations: 4.468 MB / 0.7335 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.292, allocations: 0 / 0.7335 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.2924, allocations: 91.86 kB / 0.7335 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005848/0.2982, allocations: 1.501 MB / 0.735 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.2983, allocations: 15.94 kB / 0.735 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.3101, allocations: 10.14 MB / 0.7449 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3101, allocations: 0 / 0.7449 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006918/0.317, allocations: 2.506 MB / 0.7474 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.3175, allocations: 260.1 kB / 0.7476 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3177, allocations: 19.94 kB / 0.7476 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.3185, allocations: 115.8 kB / 0.7478 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.3188, allocations: 55.88 kB / 0.7478 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.3188, allocations: 16 kB / 0.7478 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000966/0.3198, allocations: 0.6434 MB / 0.7484 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3198, allocations: 0 / 0.7484 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001951/0.3217, allocations: 0.5859 MB / 0.749 GB, free: 8.914 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * 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: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002248/0.322, allocations: 127.1 kB / 0.7491 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005144/0.3271, allocations: 3.136 MB / 0.7522 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3271, allocations: 1.938 kB / 0.7522 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.3288, allocations: 1.19 MB / 0.7534 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3299, allocations: 242.4 kB / 0.7536 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.3346, allocations: 2.972 MB / 0.7565 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.258/0.5925, allocations: 1.609 MB / 0.7581 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001343/0.5939, allocations: 0.4923 MB / 0.7586 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.5941, allocations: 60.47 kB / 0.7586 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.5941, allocations: 0 / 0.7586 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.03481/0.6289, allocations: 25.17 MB / 0.7832 GB, free: 108.7 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)