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.001159/0.001159, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001255/0.001255, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9813/0.9813, allocations: 177.1 MB / 205 MB, free: 5.277 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.2243/0.2243, allocations: 29.41 MB / 290.9 MB, free: 2.371 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.442e-06/1.442e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.95e-05, allocations: 6.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01073/0.01075, allocations: 8.296 MB / 377.9 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.01485, allocations: 3.225 MB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.01537, allocations: 55.56 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.01653, allocations: 349.5 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.01788, allocations: 0.8194 MB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.01863, allocations: 499 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.02018, allocations: 1.905 MB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.02099, allocations: 0.9439 MB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.02178, allocations: 1.087 MB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.02242, allocations: 0.7285 MB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.02254, allocations: 136 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.02298, allocations: 411.3 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.02352, allocations: 0.522 MB / 388.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.02387, allocations: 490.9 kB / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.0249, allocations: 1.3 MB / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.0249, allocations: 0 / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0249, allocations: 0 / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.02491, allocations: 0 / 390.4 MB, free: 6.152 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.00175/0.02666, allocations: 1.702 MB / 392.1 MB, free: 4.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.0267, allocations: 11.98 kB / 392.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.02723, allocations: 287.9 kB / 392.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.02814, allocations: 0.8808 MB / 393.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.02818, allocations: 78.42 kB / 393.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.02836, allocations: 128.1 kB / 393.5 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.02943, allocations: 0.976 MB / 394.4 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.02945, allocations: 4 kB / 394.4 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.02952, allocations: 44 kB / 394.5 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-05/0.02959, allocations: 69.97 kB / 394.5 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.03031, allocations: 463.5 kB / 395 MB, free: 1.34 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.003894/0.0342, allocations: 4.709 MB / 399.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.03475, allocations: 443.9 kB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.03498, allocations: 174.1 kB / 400.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.03501, allocations: 16.5 kB / 400.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.03505, allocations: 45.89 kB / 400.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 3.156e-06/0.03505, allocations: 3.984 kB / 400.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002692/0.03774, allocations: 1.867 MB / 402.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.0378, allocations: 166.9 kB / 402.4 MB, free: 9.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007848/0.03859, allocations: 0.6828 MB / 403.1 MB, free: 8.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.03863, allocations: 37.7 kB / 403.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.0389, allocations: 0.6237 MB / 403.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.03904, allocations: 273.7 kB / 404 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.0392, allocations: 164.3 kB / 404.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.03936, allocations: 0.5782 MB / 404.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.03957, allocations: 127.6 kB / 404.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.03993, allocations: 0.5413 MB / 405.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.04053, allocations: 0.6618 MB / 406.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.04053, allocations: 0 / 406.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001313/0.04184, allocations: 0.9448 MB / 407 MB, free: 4.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.04186, allocations: 15.92 kB / 407 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.04187, allocations: 11.94 kB / 407 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009877/0.04286, allocations: 463.5 kB / 407.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.04319, allocations: 163.8 kB / 407.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.04713, allocations: 3.854 MB / 411.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.04739, allocations: 47.94 kB / 411.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.04743, allocations: 43.97 kB / 411.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003064/0.04773, allocations: 264.8 kB / 411.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003505/0.04808, allocations: 0.5411 MB / 412.4 MB, free: 14.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005647/0.04865, allocations: 0.6501 MB / 413.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.04865, allocations: 0 / 413.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.001206/0.04986, allocations: 0.9175 MB / 414 MB, free: 13.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.04987, allocations: 8 kB / 414 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.04987, allocations: 8 kB / 414 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008852/0.05076, allocations: 435.8 kB / 414.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.05108, allocations: 167.7 kB / 414.6 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.05483, allocations: 3.79 MB / 418.4 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.05508, allocations: 39.92 kB / 418.4 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.05512, allocations: 43.98 kB / 418.4 MB, free: 8.582 MB / 394.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.0001525/0.05528, allocations: 323.8 kB / 418.8 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.05539, allocations: 115.4 kB / 418.9 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.05602, allocations: 0.5287 MB / 419.4 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.05602, allocations: 11.94 kB / 419.4 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.05603, allocations: 0 / 419.4 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.05603, allocations: 3.984 kB / 419.4 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.05745, allocations: 1.339 MB / 420.8 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.05745, allocations: 4 kB / 420.8 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.05787, allocations: 167.7 kB / 420.9 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.05788, allocations: 4 kB / 420.9 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.05791, allocations: 12 kB / 420.9 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.05791, allocations: 4 kB / 420.9 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.05791, allocations: 0 / 420.9 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.05872, allocations: 0.9263 MB / 421.9 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.05889, allocations: 151.3 kB / 422 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.05895, allocations: 23.98 kB / 422 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.05916, allocations: 19.98 kB / 422.1 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.05923, allocations: 48.58 kB / 422.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.05925, allocations: 19.98 kB / 422.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.05956, allocations: 426.9 kB / 422.5 MB, free: 4.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05956, allocations: 0 / 422.5 MB, free: 4.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008483/0.06041, allocations: 467.9 kB / 423 MB, free: 3.926 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.0002272/0.06063, allocations: 147 kB / 423.2 MB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.06252, allocations: 1.579 MB / 424.7 MB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.06253, allocations: 448 / 424.7 MB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.06276, allocations: 228.6 kB / 425 MB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.06336, allocations: 216.5 kB / 425.2 MB, free: 1.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.06607, allocations: 2.138 MB / 427.3 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.06628, allocations: 296.5 kB / 427.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.06669, allocations: 210.7 kB / 427.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.06683, allocations: 68.48 kB / 427.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.06683, allocations: 0 / 427.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.1373/0.2041, allocations: 17.12 MB / 445 MB, free: 95.19 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.409769910853356]