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.00125/0.00125, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001218/0.001218, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.366/1.366, allocations: 222.9 MB / 241.7 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.737/0.737, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 61.62 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.153, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02267/0.1757, allocations: 11.83 MB / 0.6443 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1902, allocations: 5.498 MB / 0.6497 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.1921, allocations: 35.88 kB / 0.6497 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004337/0.1966, allocations: 1.037 MB / 0.6507 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.1994, allocations: 0.653 MB / 0.6514 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.2028, allocations: 0.9079 MB / 0.6522 GB, free: 404 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00431/0.2071, allocations: 2.47 MB / 0.6547 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.212, allocations: 3.515 MB / 0.6581 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2145, allocations: 1.118 MB / 0.6592 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.2165, allocations: 1.215 MB / 0.6604 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.2169, allocations: 232 kB / 0.6606 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.218, allocations: 0.5267 MB / 0.6611 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000849/0.2189, allocations: 0.9084 MB / 0.662 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.22, allocations: 0.9922 MB / 0.663 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.2234, allocations: 3.561 MB / 0.6664 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2234, allocations: 0 / 0.6664 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2234, allocations: 0 / 0.6664 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-05/0.2235, allocations: 3.938 kB / 0.6664 GB, free: 1.789 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.003779/0.2273, allocations: 1.94 MB / 0.6683 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.2273, allocations: 12.03 kB / 0.6683 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.23, allocations: 0.4906 MB / 0.6688 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.232, allocations: 1.12 MB / 0.6699 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.2321, allocations: 111.4 kB / 0.67 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.2324, allocations: 152.1 kB / 0.6702 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.2369, allocations: 2.758 MB / 0.6729 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.237, allocations: 4 kB / 0.6729 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.2372, allocations: 67.97 kB / 0.6729 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/0.2375, allocations: 143 kB / 0.6731 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.2413, allocations: 2.303 MB / 0.6753 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.2547, allocations: 10.4 MB / 0.6855 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.2561, allocations: 0.6083 MB / 0.6861 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.2568, allocations: 396.6 kB / 0.6864 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.257, allocations: 92.95 kB / 0.6865 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.257, allocations: 42.5 kB / 0.6866 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 3.817e-06/0.2571, allocations: 3.938 kB / 0.6866 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.02208/0.2791, allocations: 5.827 MB / 0.6923 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.2792, allocations: 63.78 kB / 0.6923 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.2807, allocations: 0.8827 MB / 0.6932 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.2808, allocations: 33.7 kB / 0.6932 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.2814, allocations: 0.7577 MB / 0.694 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.2816, allocations: 185.4 kB / 0.6941 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/0.2821, allocations: 194.5 kB / 0.6943 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2822, allocations: 386.8 kB / 0.6947 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.2834, allocations: 0.6527 MB / 0.6953 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.2848, allocations: 1.01 MB / 0.6963 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.2873, allocations: 1.666 MB / 0.6979 GB, free: 15.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.2874, allocations: 11.94 kB / 0.698 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008958/0.2963, allocations: 3.123 MB / 0.701 GB, free: 12.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.2964, allocations: 8.375 kB / 0.701 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.2964, allocations: 16 kB / 0.701 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/0.3035, allocations: 1.653 MB / 0.7026 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.3046, allocations: 223.6 kB / 0.7029 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.3194, allocations: 10.59 MB / 0.7132 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3209, allocations: 171.6 kB / 0.7134 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.3211, allocations: 47.98 kB / 0.7134 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002178/0.3233, allocations: 1.314 MB / 0.7147 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.3246, allocations: 0.9748 MB / 0.7156 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002379/0.327, allocations: 1.615 MB / 0.7172 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.027e-05/0.3271, allocations: 4 kB / 0.7172 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007305/0.3344, allocations: 2.658 MB / 0.7198 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3344, allocations: 12.03 kB / 0.7198 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.3345, allocations: 12 kB / 0.7198 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004513/0.339, allocations: 1.063 MB / 0.7209 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3402, allocations: 251.5 kB / 0.7211 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/0.3481, allocations: 5.752 MB / 0.7267 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.3497, allocations: 151.7 kB / 0.7269 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.3499, allocations: 51.94 kB / 0.7269 GB, free: 1.062 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.0003931/0.3503, allocations: 236 kB / 0.7271 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.3505, allocations: 83.08 kB / 0.7272 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/0.3584, allocations: 2.567 MB / 0.7297 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.3584, allocations: 4 kB / 0.7297 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3585, allocations: 0 / 0.7297 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.3585, allocations: 3.984 kB / 0.7297 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.3689, allocations: 4.472 MB / 0.7341 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.369, allocations: 4 kB / 0.7341 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.3695, allocations: 96.09 kB / 0.7342 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006083/0.3756, allocations: 1.49 MB / 0.7357 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.3757, allocations: 15.94 kB / 0.7357 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.3878, allocations: 10.14 MB / 0.7456 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3879, allocations: 4.031 kB / 0.7456 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007234/0.3951, allocations: 2.502 MB / 0.748 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.3957, allocations: 268 kB / 0.7483 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.396, allocations: 20 kB / 0.7483 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/0.3969, allocations: 119.8 kB / 0.7484 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.3972, allocations: 51.81 kB / 0.7485 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.3972, allocations: 16 kB / 0.7485 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001002/0.3982, allocations: 0.6434 MB / 0.7491 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3982, allocations: 0 / 0.7491 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00212/0.4004, allocations: 0.5859 MB / 0.7497 GB, free: 8.957 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.0002275/0.4006, allocations: 124.6 kB / 0.7498 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005391/0.406, allocations: 3.149 MB / 0.7529 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.406, allocations: 4 kB / 0.7529 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.4078, allocations: 1.182 MB / 0.754 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4091, allocations: 252.6 kB / 0.7543 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.4147, allocations: 3.157 MB / 0.7574 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3243/0.739, allocations: 1.628 MB / 0.7589 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.7395, allocations: 65.5 kB / 0.759 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.7396, allocations: 1.438 kB / 0.759 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.06043/0.8, allocations: 57.87 MB / 0.8155 GB, free: 76.35 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)