Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 117.4 kB / 17.08 MB, free: 5.789 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.001204/0.001204, allocations: 197.9 kB / 18.02 MB, free: 4.918 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6762/0.6762, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 69.52 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1222, allocations: 76.17 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006418/0.1287, allocations: 5.142 MB / 0.6378 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.1338, allocations: 3.798 MB / 0.6415 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1341, allocations: 11.94 kB / 0.6415 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.1357, allocations: 0.5795 MB / 0.642 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.1367, allocations: 489.6 kB / 0.6425 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.1373, allocations: 275.3 kB / 0.6428 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.1382, allocations: 0.6932 MB / 0.6434 GB, free: 9.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.1388, allocations: 0.5289 MB / 0.644 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.1392, allocations: 367 kB / 0.6443 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.1396, allocations: 299 kB / 0.6446 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.1397, allocations: 44 kB / 0.6446 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.1402, allocations: 307.5 kB / 0.6449 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1403, allocations: 175.5 kB / 0.6451 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1406, allocations: 250.8 kB / 0.6453 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008365/0.1414, allocations: 0.8374 MB / 0.6462 GB, free: 6.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1414, allocations: 0 / 0.6462 GB, free: 6.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1414, allocations: 4 kB / 0.6462 GB, free: 6.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1414, allocations: 3.938 kB / 0.6462 GB, free: 6.605 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.001389/0.1428, allocations: 0.8143 MB / 0.647 GB, free: 5.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1429, allocations: 8.031 kB / 0.647 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.1458, allocations: 0.6944 MB / 0.6476 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.1465, allocations: 484.2 kB / 0.6481 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1465, allocations: 29.03 kB / 0.6481 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.1466, allocations: 32.12 kB / 0.6482 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1482, allocations: 0.8317 MB / 0.649 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1482, allocations: 0 / 0.649 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.1483, allocations: 12 kB / 0.649 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.1485, allocations: 60.58 kB / 0.649 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.1505, allocations: 0.9312 MB / 0.65 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.1543, allocations: 2.867 MB / 0.6528 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.156, allocations: 0.5588 MB / 0.6533 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.1568, allocations: 304.6 kB / 0.6536 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1569, allocations: 89.11 kB / 0.6537 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1569, allocations: 38.55 kB / 0.6537 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.1569, allocations: 0 / 0.6537 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.01404/0.171, allocations: 3.873 MB / 0.6575 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.171, allocations: 55.41 kB / 0.6576 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.1715, allocations: 425.5 kB / 0.658 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.1716, allocations: 37.64 kB / 0.658 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1718, allocations: 248.1 kB / 0.6582 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1719, allocations: 122.2 kB / 0.6583 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.1721, allocations: 82.11 kB / 0.6584 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1722, allocations: 354.8 kB / 0.6588 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.1732, allocations: 434.2 kB / 0.6592 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.1743, allocations: 0.497 MB / 0.6597 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.1764, allocations: 0.9265 MB / 0.6606 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1764, allocations: 4 kB / 0.6606 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005584/0.182, allocations: 1.842 MB / 0.6624 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.182, allocations: 4 kB / 0.6624 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.182, allocations: 4 kB / 0.6624 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/0.186, allocations: 0.9692 MB / 0.6633 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.1867, allocations: 131.8 kB / 0.6634 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009726/0.1964, allocations: 6.643 MB / 0.6699 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.1973, allocations: 115.8 kB / 0.67 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.1974, allocations: 19.98 kB / 0.6701 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.1987, allocations: 0.6217 MB / 0.6707 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.1997, allocations: 492.6 kB / 0.6711 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002027/0.2017, allocations: 0.8977 MB / 0.672 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.2018, allocations: 4.375 kB / 0.672 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004855/0.2066, allocations: 1.61 MB / 0.6736 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2066, allocations: 8 kB / 0.6736 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2067, allocations: 0 / 0.6736 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/0.2095, allocations: 0.7038 MB / 0.6743 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.2102, allocations: 139.8 kB / 0.6744 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/0.2177, allocations: 5.817 MB / 0.6801 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/0.2185, allocations: 103.9 kB / 0.6802 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.2186, allocations: 24.05 kB / 0.6802 GB, free: 2.535 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.2188, allocations: 207.6 kB / 0.6804 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2189, allocations: 39.53 kB / 0.6805 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.2241, allocations: 1.731 MB / 0.6822 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2241, allocations: 7.938 kB / 0.6822 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2241, allocations: 4 kB / 0.6822 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2241, allocations: 4 kB / 0.6822 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/0.23, allocations: 2.414 MB / 0.6845 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.23, allocations: 0 / 0.6845 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.2304, allocations: 80.11 kB / 0.6846 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003517/0.2339, allocations: 0.8872 MB / 0.6855 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.234, allocations: 15.97 kB / 0.6855 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008701/0.2427, allocations: 6.314 MB / 0.6916 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.2427, allocations: 7.969 kB / 0.6917 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.2475, allocations: 1.68 MB / 0.6933 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.2478, allocations: 180.6 kB / 0.6935 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.2479, allocations: 8 kB / 0.6935 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.2485, allocations: 83.86 kB / 0.6936 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.2487, allocations: 43.89 kB / 0.6936 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.2487, allocations: 15.98 kB / 0.6936 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004169/0.2492, allocations: 331 kB / 0.6939 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2492, allocations: 0 / 0.6939 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009832/0.2502, allocations: 260 kB / 0.6942 GB, free: 3.812 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.2504, allocations: 115.5 kB / 0.6943 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006283/0.2566, allocations: 2.446 MB / 0.6967 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2567, allocations: 4 kB / 0.6967 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.2591, allocations: 0.9499 MB / 0.6976 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.2598, allocations: 132.6 kB / 0.6977 GB, free: 92 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.262, allocations: 1.269 MB / 0.699 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.2625, allocations: 0.9529 MB / 0.6999 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2627, allocations: 35.42 kB / 0.6999 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.2627, allocations: 0 / 0.6999 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Templates: time 0.01674/0.2794, allocations: 13.85 MB / 0.7135 GB, free: 15.94 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)