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.001379/0.001379, allocations: 115.5 kB / 17.09 MB, free: 6.012 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.00142/0.001421, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7131/0.7131, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 65.97 kB / 0.5584 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01339/0.1445, allocations: 11.83 MB / 0.6443 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00867/0.1532, allocations: 5.498 MB / 0.6497 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.1544, allocations: 39.88 kB / 0.6497 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.1575, allocations: 1.041 MB / 0.6507 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.1595, allocations: 0.6647 MB / 0.6514 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1619, allocations: 0.915 MB / 0.6523 GB, free: 360 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.1647, allocations: 2.462 MB / 0.6547 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00369/0.1685, allocations: 3.511 MB / 0.6581 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.1703, allocations: 1.126 MB / 0.6592 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.1721, allocations: 1.215 MB / 0.6604 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004514/0.1726, allocations: 236 kB / 0.6606 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1737, allocations: 0.5228 MB / 0.6611 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009645/0.1747, allocations: 0.9006 MB / 0.662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.176, allocations: 0.9883 MB / 0.663 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.1797, allocations: 3.565 MB / 0.6664 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1798, allocations: 0 / 0.6664 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1798, allocations: 3.938 kB / 0.6664 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.051e-05/0.1799, allocations: 0 / 0.6664 GB, free: 1.758 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.004387/0.1843, allocations: 1.94 MB / 0.6683 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1843, allocations: 16.03 kB / 0.6684 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.1871, allocations: 498.4 kB / 0.6688 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.1892, allocations: 1.116 MB / 0.6699 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/0.1894, allocations: 115.4 kB / 0.67 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.1898, allocations: 160.1 kB / 0.6702 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005069/0.1948, allocations: 2.754 MB / 0.6729 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.1949, allocations: 4 kB / 0.6729 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.1952, allocations: 67.98 kB / 0.6729 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/0.1955, allocations: 139 kB / 0.6731 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.1995, allocations: 2.311 MB / 0.6753 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.2109, allocations: 10.39 MB / 0.6855 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.2122, allocations: 0.616 MB / 0.6861 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/0.2128, allocations: 388.6 kB / 0.6865 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.2129, allocations: 92.95 kB / 0.6865 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.213, allocations: 46.5 kB / 0.6866 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.213, allocations: 0 / 0.6866 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.02106/0.2341, allocations: 5.827 MB / 0.6923 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2341, allocations: 63.84 kB / 0.6923 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.2352, allocations: 0.8827 MB / 0.6932 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2353, allocations: 37.7 kB / 0.6932 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.2358, allocations: 0.7499 MB / 0.694 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.236, allocations: 189.4 kB / 0.6941 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.2363, allocations: 186.5 kB / 0.6943 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2365, allocations: 390.8 kB / 0.6947 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.2376, allocations: 0.6527 MB / 0.6953 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.2389, allocations: 1.014 MB / 0.6963 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.2416, allocations: 1.67 MB / 0.698 GB, free: 15.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.2416, allocations: 7.938 kB / 0.698 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008587/0.2502, allocations: 3.123 MB / 0.701 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.2502, allocations: 13.81 kB / 0.701 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.2503, allocations: 12 kB / 0.701 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/0.2571, allocations: 1.65 MB / 0.7026 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009771/0.2581, allocations: 227.6 kB / 0.7029 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.2717, allocations: 10.59 MB / 0.7132 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.2731, allocations: 171.6 kB / 0.7134 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.2732, allocations: 40 kB / 0.7134 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002084/0.2753, allocations: 1.321 MB / 0.7147 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001266/0.2766, allocations: 0.9825 MB / 0.7157 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002315/0.2789, allocations: 1.607 MB / 0.7172 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.536e-06/0.279, allocations: 4 kB / 0.7172 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007117/0.2861, allocations: 2.654 MB / 0.7198 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2861, allocations: 9.562 kB / 0.7198 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.2862, allocations: 12 kB / 0.7198 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/0.2906, allocations: 1.071 MB / 0.7209 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.2917, allocations: 251.6 kB / 0.7211 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.2989, allocations: 5.748 MB / 0.7267 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3002, allocations: 159.7 kB / 0.7269 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/0.3003, allocations: 47.94 kB / 0.7269 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.0003014/0.3006, allocations: 243.9 kB / 0.7272 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3008, allocations: 79.16 kB / 0.7272 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007477/0.3083, allocations: 2.563 MB / 0.7298 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3083, allocations: 8 kB / 0.7298 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3084, allocations: 0 / 0.7298 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.3084, allocations: 7.984 kB / 0.7298 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009648/0.318, allocations: 4.461 MB / 0.7341 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3181, allocations: 4 kB / 0.7341 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.3185, allocations: 95.84 kB / 0.7342 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005949/0.3244, allocations: 1.494 MB / 0.7357 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.3246, allocations: 19.94 kB / 0.7357 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.3363, allocations: 10.14 MB / 0.7456 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3364, allocations: 4.031 kB / 0.7456 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/0.3435, allocations: 2.514 MB / 0.7481 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.344, allocations: 264.1 kB / 0.7483 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.3442, allocations: 12 kB / 0.7483 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/0.345, allocations: 119.8 kB / 0.7484 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.3453, allocations: 47.88 kB / 0.7485 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3453, allocations: 16 kB / 0.7485 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009036/0.3462, allocations: 0.6473 MB / 0.7491 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3462, allocations: 0 / 0.7491 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002237/0.3485, allocations: 0.5898 MB / 0.7497 GB, free: 8.91 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.000322/0.3488, allocations: 123.1 kB / 0.7498 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005614/0.3544, allocations: 3.136 MB / 0.7529 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.3545, allocations: 4 kB / 0.7529 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.3563, allocations: 1.18 MB / 0.754 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.3574, allocations: 240.7 kB / 0.7543 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.3623, allocations: 3.181 MB / 0.7574 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2848/0.6471, allocations: 1.625 MB / 0.759 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.6475, allocations: 66.64 kB / 0.759 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.6475, allocations: 1.5 kB / 0.759 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.05137/0.6989, allocations: 57.86 MB / 0.8155 GB, free: 76.41 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)