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.001427/0.001427, allocations: 108 kB / 16.41 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.00161/0.001611, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.359/1.359, 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.761/0.761, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 66.34 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1451, allocations: 76.19 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01366/0.1588, allocations: 11.82 MB / 0.6436 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008692/0.1675, allocations: 5.498 MB / 0.649 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009507/0.1685, allocations: 43.88 kB / 0.6491 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.1713, allocations: 1.037 MB / 0.6501 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.173, allocations: 0.6608 MB / 0.6507 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.1752, allocations: 0.9079 MB / 0.6516 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.1777, allocations: 2.466 MB / 0.654 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/0.1814, allocations: 3.518 MB / 0.6574 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.1832, allocations: 1.118 MB / 0.6585 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.1847, allocations: 1.219 MB / 0.6597 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.185, allocations: 232 kB / 0.6599 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1861, allocations: 0.5266 MB / 0.6605 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000868/0.187, allocations: 0.9044 MB / 0.6613 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.188, allocations: 0.9883 MB / 0.6623 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.1913, allocations: 3.565 MB / 0.6658 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1913, allocations: 0 / 0.6658 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1913, allocations: 4 kB / 0.6658 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-05/0.1914, allocations: 0 / 0.6658 GB, free: 1.754 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.003674/0.195, allocations: 1.944 MB / 0.6677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1951, allocations: 12.03 kB / 0.6677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.1977, allocations: 494.4 kB / 0.6682 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.1995, allocations: 1.128 MB / 0.6693 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.1996, allocations: 107.5 kB / 0.6694 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.1999, allocations: 156.1 kB / 0.6695 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/0.2041, allocations: 2.754 MB / 0.6722 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.2042, allocations: 4 kB / 0.6722 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.2044, allocations: 64 kB / 0.6723 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003024/0.2047, allocations: 143 kB / 0.6724 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003622/0.2083, allocations: 2.307 MB / 0.6747 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.2215, allocations: 10.39 MB / 0.6848 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.2229, allocations: 0.6077 MB / 0.6854 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.2236, allocations: 388.6 kB / 0.6858 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.2238, allocations: 100.9 kB / 0.6859 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.2238, allocations: 46.44 kB / 0.6859 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 4.298e-06/0.2238, allocations: 0 / 0.6859 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.02231/0.2461, allocations: 5.835 MB / 0.6916 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.2462, allocations: 59.84 kB / 0.6917 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.2474, allocations: 0.8788 MB / 0.6925 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/0.2475, allocations: 41.69 kB / 0.6926 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.248, allocations: 0.7499 MB / 0.6933 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.2482, allocations: 185.4 kB / 0.6935 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.2485, allocations: 194.5 kB / 0.6937 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2487, allocations: 394.8 kB / 0.6941 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.2498, allocations: 0.6449 MB / 0.6947 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.2511, allocations: 1.014 MB / 0.6957 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.2535, allocations: 1.666 MB / 0.6973 GB, free: 15.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2535, allocations: 4 kB / 0.6973 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009124/0.2627, allocations: 3.131 MB / 0.7004 GB, free: 12.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.2627, allocations: 8 kB / 0.7004 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.2627, allocations: 15.94 kB / 0.7004 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007302/0.2701, allocations: 1.654 MB / 0.702 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2711, allocations: 219.6 kB / 0.7022 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.2851, allocations: 10.58 MB / 0.7125 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.2866, allocations: 171.6 kB / 0.7127 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.2867, allocations: 47.98 kB / 0.7127 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002071/0.2888, allocations: 1.317 MB / 0.714 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001272/0.2901, allocations: 0.9787 MB / 0.715 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002347/0.2924, allocations: 1.615 MB / 0.7166 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/0.2925, allocations: 4 kB / 0.7166 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.0074/0.2999, allocations: 2.658 MB / 0.7192 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2999, allocations: 8 kB / 0.7192 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.2999, allocations: 15.94 kB / 0.7192 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.3047, allocations: 1.063 MB / 0.7202 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.3057, allocations: 255.5 kB / 0.7205 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.3131, allocations: 5.756 MB / 0.7261 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.3145, allocations: 147.7 kB / 0.7262 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.3146, allocations: 51.92 kB / 0.7263 GB, free: 1.031 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.0003078/0.3149, allocations: 244 kB / 0.7265 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.315, allocations: 75.16 kB / 0.7266 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008012/0.3231, allocations: 2.571 MB / 0.7291 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3231, allocations: 7.938 kB / 0.7291 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3231, allocations: 0 / 0.7291 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3231, allocations: 7.984 kB / 0.7291 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.3334, allocations: 4.461 MB / 0.7335 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3334, allocations: 4 kB / 0.7335 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.3338, allocations: 87.86 kB / 0.7336 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006362/0.3402, allocations: 1.498 MB / 0.735 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-05/0.3403, allocations: 19.94 kB / 0.735 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.3527, allocations: 10.15 MB / 0.7449 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3527, allocations: 4.031 kB / 0.745 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007521/0.3603, allocations: 2.498 MB / 0.7474 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.3608, allocations: 268.1 kB / 0.7476 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.361, allocations: 8 kB / 0.7477 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008937/0.3619, allocations: 119.8 kB / 0.7478 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.3621, allocations: 55.81 kB / 0.7478 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.3622, allocations: 16 kB / 0.7478 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008764/0.3631, allocations: 0.6434 MB / 0.7485 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.3631, allocations: 0 / 0.7485 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001901/0.365, allocations: 0.5859 MB / 0.749 GB, free: 8.922 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.0002123/0.3652, allocations: 127.1 kB / 0.7492 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005396/0.3706, allocations: 3.137 MB / 0.7522 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.3707, allocations: 4 kB / 0.7522 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.3725, allocations: 1.183 MB / 0.7534 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3736, allocations: 248.6 kB / 0.7536 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.3783, allocations: 2.965 MB / 0.7565 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3179/0.6962, allocations: 1.617 MB / 0.7581 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001646/0.6979, allocations: 0.4909 MB / 0.7586 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.6981, allocations: 58.2 kB / 0.7586 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.6981, allocations: 0.9375 kB / 0.7586 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.04464/0.7428, allocations: 25.17 MB / 0.7832 GB, free: 108.6 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)