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.0008323/0.0008323, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009072/0.0009072, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9881/0.9881, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.241/0.241, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.473e-06/1.473e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.202e-05, allocations: 5.688 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.007763/0.007785, allocations: 9.251 MB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.01197, allocations: 3.198 MB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.01248, allocations: 51.62 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009492/0.01343, allocations: 421 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.01467, allocations: 0.8311 MB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.01546, allocations: 495 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.01702, allocations: 1.916 MB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.01806, allocations: 0.944 MB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.01902, allocations: 1.083 MB / 387.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.01972, allocations: 0.7402 MB / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.01986, allocations: 140 kB / 388.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.02033, allocations: 411.3 kB / 389.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.02065, allocations: 0.522 MB / 389.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.02102, allocations: 486.9 kB / 390.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02224, allocations: 1.312 MB / 391.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.02225, allocations: 0 / 391.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02225, allocations: 0 / 391.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.02226, allocations: 0 / 391.4 MB, free: 5.465 MB / 362.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.001814/0.02408, allocations: 1.706 MB / 393.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.02411, allocations: 11.98 kB / 393.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.02466, allocations: 299.8 kB / 393.4 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.02574, allocations: 0.8886 MB / 394.3 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.02579, allocations: 82.42 kB / 394.4 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.02596, allocations: 124.1 kB / 394.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.02703, allocations: 0.9799 MB / 395.5 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.02706, allocations: 7.984 kB / 395.5 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.02713, allocations: 51.92 kB / 395.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-05/0.0272, allocations: 69.98 kB / 395.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.02795, allocations: 463.4 kB / 396.1 MB, free: 0.6133 MB / 362.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.003784/0.03174, allocations: 4.693 MB / 400.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.03239, allocations: 447.8 kB / 401.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.03261, allocations: 172.5 kB / 401.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.03265, allocations: 16.5 kB / 401.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.03268, allocations: 41.89 kB / 401.4 MB, free: 11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 2.003e-06/0.03268, allocations: 4 kB / 401.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002852/0.03554, allocations: 1.867 MB / 403.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.03561, allocations: 166.9 kB / 403.4 MB, free: 8.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.03615, allocations: 0.6789 MB / 404.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.03619, allocations: 41.7 kB / 404.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.03648, allocations: 0.6276 MB / 404.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.03663, allocations: 261.8 kB / 405 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.0368, allocations: 176.2 kB / 405.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.03697, allocations: 0.5703 MB / 405.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.03718, allocations: 135.7 kB / 405.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.03756, allocations: 0.5527 MB / 406.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.03818, allocations: 0.6693 MB / 407.1 MB, free: 4.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.03818, allocations: 4 kB / 407.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001447/0.03963, allocations: 0.9526 MB / 408.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.03965, allocations: 11.94 kB / 408.1 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.03966, allocations: 8 kB / 408.1 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.04069, allocations: 459.5 kB / 408.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.04103, allocations: 175.7 kB / 408.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.04483, allocations: 3.845 MB / 412.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.04513, allocations: 43.98 kB / 412.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.04517, allocations: 40 kB / 412.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000358/0.04553, allocations: 264.8 kB / 412.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003981/0.04592, allocations: 0.5486 MB / 413.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006112/0.04653, allocations: 0.6731 MB / 414.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.04654, allocations: 4 kB / 414.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001343/0.04788, allocations: 0.9253 MB / 415.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.04789, allocations: 8 kB / 415.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.0479, allocations: 8 kB / 415.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009046/0.0488, allocations: 447.8 kB / 415.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.04912, allocations: 167.8 kB / 415.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.05257, allocations: 3.769 MB / 419.5 MB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.05285, allocations: 35.98 kB / 419.5 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.05289, allocations: 43.98 kB / 419.5 MB, free: 7.805 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (81): * Single equations (assignments): 80 * 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.0001773/0.05307, allocations: 323.8 kB / 419.9 MB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.05319, allocations: 123.3 kB / 420 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006834/0.05387, allocations: 0.521 MB / 420.5 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.05388, allocations: 11.94 kB / 420.5 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.05388, allocations: 0 / 420.5 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.05389, allocations: 7.984 kB / 420.5 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.05547, allocations: 1.323 MB / 421.8 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.05547, allocations: 4 kB / 421.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.0559, allocations: 159.8 kB / 422 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0559, allocations: 4 kB / 422 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.05594, allocations: 19.92 kB / 422 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.05594, allocations: 4 kB / 422 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.05594, allocations: 0 / 422 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.05678, allocations: 0.9303 MB / 423 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.05696, allocations: 155.2 kB / 423.1 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.05702, allocations: 20 kB / 423.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.05724, allocations: 19.98 kB / 423.1 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.0573, allocations: 52.5 kB / 423.2 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.05732, allocations: 20 kB / 423.2 MB, free: 4.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000317/0.05764, allocations: 426.9 kB / 423.6 MB, free: 3.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05764, allocations: 0 / 423.6 MB, free: 3.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009372/0.05858, allocations: 467.9 kB / 424.1 MB, free: 3.152 MB / 394.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.0002462/0.05882, allocations: 148.4 kB / 424.2 MB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.06057, allocations: 1.583 MB / 425.8 MB, free: 1.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.06057, allocations: 4 kB / 425.8 MB, free: 1.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.06082, allocations: 224.6 kB / 426 MB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.06145, allocations: 210.6 kB / 426.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.06449, allocations: 2.146 MB / 428.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.06476, allocations: 304.5 kB / 428.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.06524, allocations: 214.6 kB / 428.9 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.06551, allocations: 68.48 kB / 429 MB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.06551, allocations: 0 / 429 MB, free: 14.16 MB / 410.7 MB Notification: Performance of Templates: time 0.1522/0.2177, allocations: 16.33 MB / 445.3 MB, free: 108 MB / 410.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.5082730578724295]