Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001338/0.001338, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001425/0.001425, allocations: 169.2 kB / 24.82 MB, free: 8.93 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2183/0.2183, allocations: 29.41 MB / 291.2 MB, free: 2.449 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.825e-05, allocations: 5.406 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00223/0.002248, allocations: 2.328 MB / 372.4 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003352, allocations: 1.045 MB / 373.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.003396, allocations: 4 kB / 373.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.00351, allocations: 15.84 kB / 373.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.003604, allocations: 59.67 kB / 373.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.004249, allocations: 342.8 kB / 373.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.004359, allocations: 115.6 kB / 374 MB, free: 6.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.00439, allocations: 4 kB / 374 MB, free: 6.789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004503, allocations: 63.8 kB / 374.1 MB, free: 6.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.004584, allocations: 71.78 kB / 374.1 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.004596, allocations: 0 / 374.1 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.005161, allocations: 0.5688 MB / 374.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.005207, allocations: 39.91 kB / 374.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.005235, allocations: 35.86 kB / 374.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.005678, allocations: 0.5571 MB / 375.3 MB, free: 5.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005682, allocations: 4 kB / 375.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005682, allocations: 4 kB / 375.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.005685, allocations: 0 / 375.4 MB, free: 5.445 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004246/0.00611, allocations: 489.5 kB / 375.8 MB, free: 4.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.006146, allocations: 11.98 kB / 375.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.006185, allocations: 16.84 kB / 375.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.006309, allocations: 124.5 kB / 376 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.00632, allocations: 4.375 kB / 376 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.00633, allocations: 4.312 kB / 376 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.006451, allocations: 107.9 kB / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.006459, allocations: 3.938 kB / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.006467, allocations: 0 / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006472, allocations: 0 / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.006519, allocations: 57.69 kB / 376.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.006623, allocations: 113.1 kB / 376.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/0.006703, allocations: 84.75 kB / 376.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.006756, allocations: 69.34 kB / 376.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.006761, allocations: 7.938 kB / 376.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.006788, allocations: 37.38 kB / 376.5 MB, free: 4.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.006789, allocations: 4 kB / 376.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002601/0.007049, allocations: 267 kB / 376.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.007083, allocations: 93.05 kB / 376.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.00716, allocations: 188.8 kB / 377 MB, free: 3.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.007171, allocations: 33.69 kB / 377 MB, free: 3.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.00721, allocations: 139.2 kB / 377.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.007252, allocations: 67.42 kB / 377.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.007287, allocations: 35.34 kB / 377.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.00741, allocations: 0.5001 MB / 377.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.007443, allocations: 57.62 kB / 377.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.007475, allocations: 65.67 kB / 377.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.007556, allocations: 147 kB / 378 MB, free: 2.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007557, allocations: 0 / 378 MB, free: 2.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001506/0.007708, allocations: 185 kB / 378.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.007743, allocations: 57.66 kB / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.007747, allocations: 0 / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007758, allocations: 3.984 kB / 378.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.00776, allocations: 3.938 kB / 378.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.007762, allocations: 0 / 378.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.007797, allocations: 15.89 kB / 378.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.007812, allocations: 11.94 kB / 378.3 MB, free: 2.203 MB / 346.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.288e-05/0.007895, allocations: 218.3 kB / 378.5 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.007916, allocations: 19.95 kB / 378.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.007933, allocations: 13.11 kB / 378.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007934, allocations: 4 kB / 378.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.007937, allocations: 3.938 kB / 378.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.007939, allocations: 0 / 378.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.258e-05/0.008001, allocations: 109.2 kB / 378.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.008002, allocations: 0 / 378.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.008002, allocations: 0 / 378.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.008003, allocations: 0 / 378.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.008012, allocations: 15.98 kB / 378.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.008013, allocations: 0 / 378.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.008013, allocations: 0 / 378.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.008202, allocations: 315.5 kB / 379 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.008213, allocations: 11.89 kB / 379 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.008286, allocations: 7.984 kB / 379 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.008304, allocations: 4 kB / 379 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.008316, allocations: 3.938 kB / 379 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.008323, allocations: 8 kB / 379 MB, free: 1.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.008364, allocations: 151 kB / 379.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008364, allocations: 0 / 379.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.008601, allocations: 131.8 kB / 379.3 MB, free: 1.129 MB / 346.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.0002607/0.008862, allocations: 198.7 kB / 379.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.009051, allocations: 273.6 kB / 379.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.009052, allocations: 0 / 379.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.009139, allocations: 180.7 kB / 379.9 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.009278, allocations: 19.98 kB / 380 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.009585, allocations: 356.3 kB / 380.3 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.009635, allocations: 86.81 kB / 380.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.021e-05/0.009645, allocations: 0 / 380.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.009741, allocations: 110.2 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.009742, allocations: 0 / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Templates: time 0.005434/0.01518, allocations: 4.24 MB / 384.7 MB, free: 11.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.998245256021619]