Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.000934/0.000934, allocations: 80.8 kB / 21.49 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.001002/0.001002, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2395/0.2395, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.707e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007697/0.007724, allocations: 4.348 MB / 321.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.01122, allocations: 1.551 MB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.01164, allocations: 19.81 kB / 322.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.0123, allocations: 147 kB / 322.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007575/0.01306, allocations: 270.4 kB / 323.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.01395, allocations: 275.2 kB / 323.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008884/0.01484, allocations: 0.6466 MB / 324.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.01533, allocations: 267.8 kB / 324.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.01618, allocations: 430.9 kB / 324.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006382/0.01681, allocations: 327.2 kB / 325.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.01692, allocations: 40 kB / 325.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.01748, allocations: 159.7 kB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.01778, allocations: 255.2 kB / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.01805, allocations: 191.5 kB / 325.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.01891, allocations: 0.51 MB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.01892, allocations: 4 kB / 326.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01892, allocations: 0 / 326.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.01893, allocations: 0 / 326.3 MB, free: 6.527 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001469/0.0204, allocations: 0.7114 MB / 327 MB, free: 5.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.02045, allocations: 19.97 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007237/0.02117, allocations: 132.7 kB / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.02179, allocations: 349.2 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.02182, allocations: 33.36 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.02196, allocations: 48.56 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.02264, allocations: 467.6 kB / 328 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.02266, allocations: 3.938 kB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.02271, allocations: 16 kB / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.02281, allocations: 36.98 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.02321, allocations: 182.6 kB / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.02604, allocations: 2.471 MB / 330.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.02639, allocations: 171.8 kB / 330.9 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.0265, allocations: 57.77 kB / 330.9 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.02653, allocations: 12 kB / 331 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.02657, allocations: 38.5 kB / 331 MB, free: 1.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.02657, allocations: 4 kB / 331 MB, free: 1.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00117/0.02774, allocations: 0.5173 MB / 331.5 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.02779, allocations: 85.09 kB / 331.6 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.02808, allocations: 339.1 kB / 331.9 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.02811, allocations: 29.7 kB / 332 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.02826, allocations: 272.7 kB / 332.2 MB, free: 240 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.02837, allocations: 130.9 kB / 332.3 MB, free: 108 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.02851, allocations: 98.23 kB / 332.4 MB, free: 4 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.02865, allocations: 354.7 kB / 332.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.02877, allocations: 49.28 kB / 332.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.029, allocations: 250.9 kB / 333.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.02943, allocations: 358.7 kB / 333.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.02944, allocations: 4 kB / 333.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001029/0.03046, allocations: 424.3 kB / 333.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.03049, allocations: 8 kB / 333.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.0305, allocations: 4 kB / 333.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.03151, allocations: 210.3 kB / 334.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.03208, allocations: 139.8 kB / 334.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.03528, allocations: 2.83 MB / 337 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.03559, allocations: 16.03 kB / 337.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.03563, allocations: 31.92 kB / 337.1 MB, free: 10.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.03582, allocations: 144.5 kB / 337.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.0359, allocations: 35.91 kB / 337.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.03634, allocations: 249.1 kB / 337.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.03634, allocations: 4 kB / 337.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.03634, allocations: 4 kB / 337.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.03635, allocations: 0 / 337.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.03721, allocations: 0.496 MB / 338 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.03721, allocations: 7.938 kB / 338 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.03767, allocations: 102.7 kB / 338.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.309e-06/0.03767, allocations: 4 kB / 338.1 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.03771, allocations: 12 kB / 338.1 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.03771, allocations: 0 / 338.1 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.03771, allocations: 4 kB / 338.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.03824, allocations: 383.3 kB / 338.5 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.0383, allocations: 47.62 kB / 338.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.03835, allocations: 8 kB / 338.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.03853, allocations: 4.188 kB / 338.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.03859, allocations: 31.95 kB / 338.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.03861, allocations: 7.984 kB / 338.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.03877, allocations: 128.7 kB / 338.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03877, allocations: 0 / 338.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005569/0.03933, allocations: 116 kB / 338.8 MB, free: 9.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001258/0.03946, allocations: 96.34 kB / 338.9 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.04042, allocations: 0.5504 MB / 339.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/0.04043, allocations: 4 kB / 339.5 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.0406, allocations: 101.2 kB / 339.6 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.0411, allocations: 101.6 kB / 339.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.04397, allocations: 1.094 MB / 340.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.04413, allocations: 153.7 kB / 340.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.04438, allocations: 59.42 kB / 341 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.04466, allocations: 123.3 kB / 341.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of SimCode: time 1.103e-06/0.04467, allocations: 0 / 341.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of Templates: time 0.01305/0.05771, allocations: 6.648 MB / 347.8 MB, free: 200 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0168398120440543]