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.001033/0.001033, allocations: 77.97 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.001029/0.001029, allocations: 168 kB / 24.82 MB, free: 8.871 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2545/0.2545, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.443e-06/1.443e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.803e-05, allocations: 5.547 kB / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.007136/0.007154, allocations: 8.187 MB / 378.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.01067, allocations: 3.186 MB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.01112, allocations: 55.56 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.01192, allocations: 357.4 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.01307, allocations: 0.8194 MB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.01367, allocations: 0.4911 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.0153, allocations: 1.905 MB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008557/0.01616, allocations: 0.9478 MB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009323/0.01709, allocations: 1.079 MB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.01778, allocations: 0.7285 MB / 387.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.01792, allocations: 140 kB / 388 MB, free: 8.781 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.01839, allocations: 407.3 kB / 388.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.01869, allocations: 0.5181 MB / 388.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.01904, allocations: 494.9 kB / 389.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.02008, allocations: 1.3 MB / 390.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.02008, allocations: 0 / 390.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02008, allocations: 0 / 390.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.0201, allocations: 4 kB / 390.7 MB, free: 6.07 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.001799/0.0219, allocations: 1.682 MB / 392.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.02193, allocations: 11.98 kB / 392.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005172/0.02245, allocations: 291.9 kB / 392.7 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/0.02333, allocations: 0.8495 MB / 393.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.02337, allocations: 78.44 kB / 393.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.02353, allocations: 128 kB / 393.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/0.02441, allocations: 0.9134 MB / 394.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.02443, allocations: 3.938 kB / 394.6 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.02449, allocations: 47.98 kB / 394.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.104e-05/0.02458, allocations: 65.97 kB / 394.7 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.02509, allocations: 377.5 kB / 395.1 MB, free: 1.449 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.003831/0.02893, allocations: 4.669 MB / 399.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.02937, allocations: 406.6 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.02953, allocations: 152.5 kB / 400.3 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.02957, allocations: 12.5 kB / 400.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.0296, allocations: 45.89 kB / 400.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 1.984e-06/0.0296, allocations: 7.938 kB / 400.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002168/0.03177, allocations: 1.277 MB / 401.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.03183, allocations: 166.9 kB / 401.8 MB, free: 10.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.03229, allocations: 0.6668 MB / 402.5 MB, free: 9.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.03232, allocations: 37.7 kB / 402.5 MB, free: 9.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.03263, allocations: 0.6353 MB / 403.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.03278, allocations: 265.7 kB / 403.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.03296, allocations: 176.1 kB / 403.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.03316, allocations: 0.5819 MB / 404.2 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.0333, allocations: 99.61 kB / 404.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.03363, allocations: 0.5179 MB / 404.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.03413, allocations: 0.6109 MB / 405.4 MB, free: 6.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.03414, allocations: 4 kB / 405.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001144/0.03528, allocations: 0.8511 MB / 406.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.0353, allocations: 11.94 kB / 406.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.03531, allocations: 8 kB / 406.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/0.03618, allocations: 407.6 kB / 406.7 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.0365, allocations: 175.7 kB / 406.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.03977, allocations: 3.671 MB / 410.5 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.04003, allocations: 35.94 kB / 410.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.04007, allocations: 36 kB / 410.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002267/0.0403, allocations: 232.8 kB / 410.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003344/0.04063, allocations: 0.5212 MB / 411.4 MB, free: 228 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004428/0.04107, allocations: 0.607 MB / 412 MB, free: 15.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.04108, allocations: 8 kB / 412 MB, free: 15.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.001118/0.0422, allocations: 0.8199 MB / 412.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.04221, allocations: 8 kB / 412.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.04221, allocations: 8 kB / 412.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/0.04297, allocations: 395.8 kB / 413.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.04326, allocations: 155.8 kB / 413.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.04643, allocations: 3.603 MB / 416.9 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.04668, allocations: 35.92 kB / 417 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.04671, allocations: 32 kB / 417 MB, free: 10.28 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.0001482/0.04686, allocations: 319.8 kB / 417.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.04697, allocations: 107.4 kB / 417.4 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.04748, allocations: 493.5 kB / 417.9 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.04749, allocations: 11.98 kB / 417.9 MB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.04749, allocations: 4 kB / 417.9 MB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.0475, allocations: 7.922 kB / 417.9 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.0487, allocations: 1.136 MB / 419.1 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.0487, allocations: 0 / 419.1 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.04911, allocations: 155.8 kB / 419.2 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.04912, allocations: 11.92 kB / 419.2 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.04915, allocations: 27.92 kB / 419.3 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.04915, allocations: 3.938 kB / 419.3 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.04915, allocations: 4 kB / 419.3 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.04989, allocations: 0.8483 MB / 420.1 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.05007, allocations: 147.3 kB / 420.3 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.05012, allocations: 16 kB / 420.3 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.05033, allocations: 27.94 kB / 420.3 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.05038, allocations: 48.52 kB / 420.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.05041, allocations: 23.98 kB / 420.4 MB, free: 6.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.05063, allocations: 394.8 kB / 420.8 MB, free: 6.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05063, allocations: 0 / 420.8 MB, free: 6.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008706/0.0515, allocations: 467.9 kB / 421.2 MB, free: 5.984 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.000223/0.05172, allocations: 146.5 kB / 421.4 MB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.05316, allocations: 1.486 MB / 422.8 MB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.05316, allocations: 0 / 422.8 MB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.05335, allocations: 200.5 kB / 423 MB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.0542, allocations: 220.8 kB / 423.3 MB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.05665, allocations: 2.126 MB / 425.4 MB, free: 1.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.05687, allocations: 296.5 kB / 425.7 MB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.05718, allocations: 126.8 kB / 425.8 MB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.05754, allocations: 274.1 kB / 426.1 MB, free: 1.02 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.05754, allocations: 0 / 426.1 MB, free: 1.02 MB / 394.7 MB Notification: Performance of Templates: time 0.1561/0.2136, allocations: 17.54 MB / 443.6 MB, free: 96.18 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.4376784274354577]