Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 174.3 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.254/0.254, allocations: 29.41 MB / 291.2 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.481e-05, allocations: 3.188 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002788/0.002813, allocations: 2.314 MB / 319.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.005291, allocations: 1.979 MB / 321.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.005363, allocations: 3.938 kB / 321.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.005554, allocations: 15.91 kB / 321.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.005638, allocations: 31.77 kB / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.007715, allocations: 0.9233 MB / 322.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.007841, allocations: 79.62 kB / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.007882, allocations: 192 / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.00802, allocations: 47.83 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.008092, allocations: 35.88 kB / 322.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.008102, allocations: 0 / 322.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.01054, allocations: 1.956 MB / 324.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.01059, allocations: 11.94 kB / 324.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.01062, allocations: 8 kB / 324.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.01264, allocations: 1.484 MB / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01265, allocations: 0 / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01265, allocations: 3.938 kB / 325.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01265, allocations: 0 / 325.8 MB, free: 7.051 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006606/0.01332, allocations: 420.8 kB / 326.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01335, allocations: 15.98 kB / 326.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.0134, allocations: 4.938 kB / 326.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.01353, allocations: 125.6 kB / 326.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.01354, allocations: 11.94 kB / 326.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.01354, allocations: 7.922 kB / 326.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.01364, allocations: 78.16 kB / 326.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.01365, allocations: 0 / 326.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.01366, allocations: 0 / 326.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.01366, allocations: 4 kB / 326.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.01368, allocations: 37.69 kB / 326.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.33e-05/0.01376, allocations: 67.86 kB / 326.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.01381, allocations: 52.28 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.01383, allocations: 46.58 kB / 326.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-06/0.01384, allocations: 0 / 326.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.01386, allocations: 42.44 kB / 326.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.61e-07/0.01386, allocations: 0 / 326.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001492/0.01401, allocations: 150.8 kB / 326.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.01405, allocations: 93.09 kB / 326.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.01415, allocations: 124.3 kB / 327 MB, free: 5.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.01416, allocations: 29.7 kB / 327.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.01419, allocations: 88.16 kB / 327.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.01423, allocations: 27.73 kB / 327.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.01426, allocations: 21.7 kB / 327.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.01436, allocations: 314.8 kB / 327.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.0144, allocations: 48.52 kB / 327.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.01443, allocations: 33.7 kB / 327.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.0145, allocations: 105.8 kB / 327.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.0145, allocations: 4 kB / 327.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.384e-05/0.0146, allocations: 113 kB / 327.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.01464, allocations: 45.67 kB / 327.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01465, allocations: 0 / 327.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.01466, allocations: 4.062 kB / 327.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.01466, allocations: 0 / 327.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.01466, allocations: 0 / 327.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.01469, allocations: 4 kB / 327.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01471, allocations: 0 / 327.9 MB, free: 4.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.0148, allocations: 154.4 kB / 328 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.01481, allocations: 11.92 kB / 328 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.01483, allocations: 8.438 kB / 328 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01483, allocations: 3.938 kB / 328 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01483, allocations: 0 / 328 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01484, allocations: 7.938 kB / 328 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.517e-05/0.0149, allocations: 77.81 kB / 328.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0149, allocations: 0 / 328.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-07/0.0149, allocations: 0 / 328.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.0149, allocations: 0 / 328.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01491, allocations: 4 kB / 328.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01491, allocations: 3.938 kB / 328.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01492, allocations: 0 / 328.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.01505, allocations: 166.5 kB / 328.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.01507, allocations: 11.94 kB / 328.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.01508, allocations: 4 kB / 328.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.0151, allocations: 11.97 kB / 328.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.01511, allocations: 0 / 328.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01512, allocations: 4 kB / 328.3 MB, free: 4.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.336e-05/0.01514, allocations: 26.33 kB / 328.3 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01514, allocations: 0 / 328.3 MB, free: 4.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007694/0.01591, allocations: 315.3 kB / 328.6 MB, free: 3.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.01695, allocations: 410.5 kB / 329 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.0171, allocations: 163.6 kB / 329.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.0171, allocations: 0 / 329.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.01715, allocations: 117.9 kB / 329.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.01726, allocations: 8.984 kB / 329.3 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.01769, allocations: 251.9 kB / 329.6 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.01773, allocations: 71.33 kB / 329.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.265e-05/0.01774, allocations: 0 / 329.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.01782, allocations: 71.36 kB / 329.7 MB, free: 2.676 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01782, allocations: 0 / 329.7 MB, free: 2.676 MB / 298.7 MB Notification: Performance of Templates: time 0.009624/0.02745, allocations: 7.263 MB / 337 MB, free: 11.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1295439191162586]