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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 105.2 kB / 19.61 MB, free: 2.582 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 194.5 kB / 22.76 MB, free: 5.598 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1872/0.1872, allocations: 38.51 MB / 345 MB, free: 2.621 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 72.02 kB / 482.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 61.24 MB / 0.5309 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01022/0.3599, allocations: 9.391 MB / 0.5401 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006549/0.3664, allocations: 3.261 MB / 0.5433 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3677, allocations: 38.53 kB / 0.5433 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3693, allocations: 413.8 kB / 0.5437 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.3719, allocations: 0.8061 MB / 0.5445 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3732, allocations: 0.4903 MB / 0.545 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.376, allocations: 1.868 MB / 0.5468 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.3775, allocations: 0.9194 MB / 0.5477 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.379, allocations: 0.765 MB / 0.5485 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.3804, allocations: 0.8533 MB / 0.5493 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.3806, allocations: 140 kB / 0.5494 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008747/0.3815, allocations: 393.3 kB / 0.5498 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005919/0.3821, allocations: 0.4985 MB / 0.5503 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.383, allocations: 0.7039 MB / 0.551 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.3857, allocations: 1.991 MB / 0.5529 GB, free: 5.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3857, allocations: 1.125 kB / 0.5529 GB, free: 5.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3857, allocations: 3.938 kB / 0.5529 GB, free: 5.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.3857, allocations: 0 / 0.5529 GB, free: 5.523 MB / 398.1 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.003554/0.3893, allocations: 1.677 MB / 0.5546 GB, free: 4.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3893, allocations: 12.45 kB / 0.5546 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.3901, allocations: 199.8 kB / 0.5548 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.392, allocations: 0.9584 MB / 0.5557 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.3921, allocations: 74.06 kB / 0.5558 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.3924, allocations: 127.9 kB / 0.5559 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.3948, allocations: 1.345 MB / 0.5572 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3948, allocations: 8 kB / 0.5572 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3949, allocations: 36 kB / 0.5572 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.395, allocations: 69.97 kB / 0.5573 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.397, allocations: 1.073 MB / 0.5584 GB, free: 372 kB / 398.1 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.008177/0.4052, allocations: 5.111 MB / 0.5634 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.4066, allocations: 0.7268 MB / 0.5641 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.4071, allocations: 322.4 kB / 0.5644 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.4072, allocations: 16.55 kB / 0.5644 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4072, allocations: 39.12 kB / 0.5644 GB, free: 9.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.985e-06/0.4072, allocations: 0 / 0.5644 GB, free: 9.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.006217/0.4134, allocations: 2.714 MB / 0.5671 GB, free: 7.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.4135, allocations: 141 kB / 0.5672 GB, free: 6.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.4146, allocations: 0.751 MB / 0.5679 GB, free: 6.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.4146, allocations: 41.77 kB / 0.568 GB, free: 6.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/0.4151, allocations: 0.5781 MB / 0.5685 GB, free: 5.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.4153, allocations: 273.7 kB / 0.5688 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.4156, allocations: 162.6 kB / 0.569 GB, free: 5.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4158, allocations: 341.9 kB / 0.5693 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.4164, allocations: 300.7 kB / 0.5696 GB, free: 4.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.4171, allocations: 0.5527 MB / 0.5701 GB, free: 3.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.4185, allocations: 0.8975 MB / 0.571 GB, free: 2.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.4185, allocations: 7.938 kB / 0.571 GB, free: 2.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003247/0.4217, allocations: 1.329 MB / 0.5723 GB, free: 1.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4218, allocations: 11.98 kB / 0.5723 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.4218, allocations: 8 kB / 0.5723 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.4232, allocations: 416.8 kB / 0.5727 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.4239, allocations: 167.7 kB / 0.5729 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009577/0.4335, allocations: 5.279 MB / 0.578 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.4344, allocations: 43.98 kB / 0.5781 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.4345, allocations: 35.98 kB / 0.5781 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.4355, allocations: 0.5565 MB / 0.5786 GB, free: 10.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007476/0.4363, allocations: 0.5375 MB / 0.5792 GB, free: 10.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001272/0.4375, allocations: 0.878 MB / 0.58 GB, free: 9.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.442e-06/0.4375, allocations: 3.984 kB / 0.58 GB, free: 9.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.00286/0.4404, allocations: 1.254 MB / 0.5813 GB, free: 7.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4404, allocations: 10.97 kB / 0.5813 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4404, allocations: 8 kB / 0.5813 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.4418, allocations: 409.3 kB / 0.5817 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.4425, allocations: 171.7 kB / 0.5818 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00839/0.4509, allocations: 5.055 MB / 0.5868 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.4517, allocations: 39.92 kB / 0.5868 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.4518, allocations: 39.98 kB / 0.5868 GB, free: 1.969 MB / 430.1 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.0003083/0.4521, allocations: 236 kB / 0.5871 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4523, allocations: 99.33 kB / 0.5872 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.454, allocations: 0.8597 MB / 0.588 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4541, allocations: 12 kB / 0.588 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4541, allocations: 4 kB / 0.588 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4541, allocations: 3.984 kB / 0.588 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.4574, allocations: 1.864 MB / 0.5898 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4574, allocations: 4 kB / 0.5898 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.4582, allocations: 163.8 kB / 0.59 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.4582, allocations: 4 kB / 0.59 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.4583, allocations: 23.92 kB / 0.59 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.4583, allocations: 4 kB / 0.59 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4583, allocations: 0 / 0.59 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.4603, allocations: 1.276 MB / 0.5913 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.4608, allocations: 228.4 kB / 0.5915 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4609, allocations: 19.94 kB / 0.5915 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.4614, allocations: 27.97 kB / 0.5915 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.4614, allocations: 44.59 kB / 0.5916 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.4615, allocations: 20 kB / 0.5916 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007201/0.4622, allocations: 0.5107 MB / 0.5921 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4622, allocations: 0 / 0.5921 GB, free: 12.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001717/0.4639, allocations: 467.9 kB / 0.5925 GB, free: 11.99 MB / 446.1 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.0003487/0.4643, allocations: 146.8 kB / 0.5927 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003871/0.4681, allocations: 1.83 MB / 0.5945 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4682, allocations: 448 / 0.5945 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.4687, allocations: 335.5 kB / 0.5948 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.47, allocations: 261.5 kB / 0.595 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.4747, allocations: 2.6 MB / 0.5976 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.4759, allocations: 1.201 MB / 0.5988 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.4762, allocations: 71.42 kB / 0.5988 GB, free: 5.461 MB / 446.1 MB Notification: Performance of SimCode: time 2.315e-06/0.4762, allocations: 8 kB / 0.5988 GB, free: 5.453 MB / 446.1 MB Notification: Performance of Templates: time 0.02926/0.5054, allocations: 17.33 MB / 0.6158 GB, free: 4.164 MB / 462.1 MB [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480]