Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.000963/0.000963, 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.0009582/0.0009582, allocations: 168.8 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.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.29/0.29, allocations: 29.42 MB / 291.2 MB, free: 2.488 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.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.382e-05, allocations: 2.312 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.007183/0.007197, allocations: 8.22 MB / 325.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.01203, allocations: 3.276 MB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.01262, allocations: 51.62 kB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.01355, allocations: 357.4 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.01495, allocations: 0.8272 MB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000773/0.01572, allocations: 0.4911 MB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.01752, allocations: 1.901 MB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.01863, allocations: 0.9752 MB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.01995, allocations: 1.076 MB / 334 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.02079, allocations: 0.7089 MB / 334.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.02094, allocations: 140 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.02146, allocations: 407.4 kB / 335.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003516/0.02181, allocations: 0.5142 MB / 335.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.02226, allocations: 494.9 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.02377, allocations: 1.3 MB / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.02377, allocations: 0 / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.061e-06/0.02377, allocations: 0 / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.0238, allocations: 0 / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00174/0.02554, allocations: 1.526 MB / 339.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.02557, allocations: 11.98 kB / 339.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.02606, allocations: 240.6 kB / 339.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.02692, allocations: 0.6985 MB / 340 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.02696, allocations: 78.44 kB / 340.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.02713, allocations: 136 kB / 340.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.02799, allocations: 0.8916 MB / 341.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.02801, allocations: 3.938 kB / 341.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.02807, allocations: 47.98 kB / 341.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/0.02815, allocations: 69.97 kB / 341.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.02862, allocations: 325.6 kB / 341.6 MB, free: 7.023 MB / 314.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.03211, allocations: 3.644 MB / 345.2 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.03254, allocations: 410.3 kB / 345.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.03268, allocations: 129.6 kB / 345.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.03272, allocations: 16.48 kB / 345.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.03275, allocations: 43.06 kB / 345.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=64): time 2.013e-06/0.03275, allocations: 3.938 kB / 345.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.002082/0.03483, allocations: 1.211 MB / 347 MB, free: 1.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.0349, allocations: 166.9 kB / 347.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.03526, allocations: 0.5818 MB / 347.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.0353, allocations: 41.69 kB / 347.8 MB, free: 496 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.03552, allocations: 494 kB / 348.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.03595, allocations: 261.7 kB / 348.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.0361, allocations: 158.5 kB / 348.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.03622, allocations: 402.6 kB / 349.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.03634, allocations: 92.75 kB / 349.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.03659, allocations: 409.3 kB / 349.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.03699, allocations: 0.513 MB / 350.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.037, allocations: 4 kB / 350.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0009235/0.03792, allocations: 0.6952 MB / 350.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.03794, allocations: 16.23 kB / 350.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.03795, allocations: 12 kB / 350.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/0.03876, allocations: 383.3 kB / 351.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.03906, allocations: 163.7 kB / 351.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.04202, allocations: 2.948 MB / 354.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.04227, allocations: 39.88 kB / 354.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.0423, allocations: 32.06 kB / 354.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000241/0.04254, allocations: 184.9 kB / 354.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002544/0.0428, allocations: 405.4 kB / 354.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007179/0.04352, allocations: 0.5102 MB / 355.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.04352, allocations: 4 kB / 355.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.0008783/0.0444, allocations: 0.6681 MB / 356.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.04441, allocations: 8.312 kB / 356.1 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.04442, allocations: 12 kB / 356.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007411/0.04516, allocations: 371.5 kB / 356.5 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.04546, allocations: 167.7 kB / 356.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.04812, allocations: 2.872 MB / 359.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.04836, allocations: 39.95 kB / 359.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.04839, allocations: 31.98 kB / 359.6 MB, free: 3.949 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.04855, allocations: 236 kB / 359.8 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.04864, allocations: 75.88 kB / 359.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.04909, allocations: 406.8 kB / 360.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.0491, allocations: 12 kB / 360.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.0491, allocations: 0 / 360.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.04911, allocations: 7.984 kB / 360.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.05022, allocations: 0.998 MB / 361.3 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.05023, allocations: 0 / 361.3 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.05062, allocations: 151.8 kB / 361.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.05063, allocations: 7.938 kB / 361.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.05066, allocations: 31.94 kB / 361.5 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.05066, allocations: 4 kB / 361.5 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.05067, allocations: 0 / 361.5 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.05127, allocations: 0.73 MB / 362.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.05142, allocations: 107.3 kB / 362.3 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.05148, allocations: 27.92 kB / 362.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.05197, allocations: 16 kB / 362.4 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.05202, allocations: 52.5 kB / 362.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.05204, allocations: 12 kB / 362.4 MB, free: 1.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.05223, allocations: 276.5 kB / 362.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05223, allocations: 0 / 362.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008749/0.05311, allocations: 467.9 kB / 363.2 MB, free: 300 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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.0002288/0.05334, allocations: 126.3 kB / 363.3 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.05472, allocations: 1.313 MB / 364.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.05473, allocations: 12.5 kB / 364.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.05491, allocations: 189.7 kB / 364.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.05552, allocations: 250.7 kB / 365.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.05802, allocations: 1.987 MB / 367 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.05824, allocations: 288.5 kB / 367.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003181/0.05856, allocations: 126.8 kB / 367.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.05891, allocations: 233.2 kB / 367.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.05891, allocations: 0 / 367.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Templates: time 0.02058/0.07949, allocations: 17.53 MB / 385.2 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.511588241904974]