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.0014/0.0014, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001677/0.001677, allocations: 205.9 kB / 24.49 MB, free: 4.137 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.1845/0.1845, allocations: 38.53 MB / 353.2 MB, free: 12.52 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 63.91 kB / 493.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.351, allocations: 62.47 MB / 0.5432 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01262/0.3636, allocations: 9.507 MB / 0.5525 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.371, allocations: 3.308 MB / 0.5557 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.3725, allocations: 50.06 kB / 0.5558 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.3742, allocations: 431.4 kB / 0.5562 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.377, allocations: 0.8209 MB / 0.557 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.3784, allocations: 481.1 kB / 0.5575 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003463/0.3819, allocations: 1.881 MB / 0.5593 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.3839, allocations: 0.9557 MB / 0.5602 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.3857, allocations: 0.7745 MB / 0.561 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.3875, allocations: 0.8562 MB / 0.5618 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.388, allocations: 140 kB / 0.562 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3892, allocations: 435.4 kB / 0.5624 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008215/0.39, allocations: 0.5024 MB / 0.5629 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.3914, allocations: 0.696 MB / 0.5635 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.395, allocations: 2.001 MB / 0.5655 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.395, allocations: 0 / 0.5655 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.395, allocations: 0 / 0.5655 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.532e-05/0.395, allocations: 0 / 0.5655 GB, free: 13.53 MB / 414.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.004368/0.3994, allocations: 1.609 MB / 0.5671 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3995, allocations: 19.62 kB / 0.5671 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009679/0.4004, allocations: 192 kB / 0.5673 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.4026, allocations: 0.8824 MB / 0.5681 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.4027, allocations: 74.06 kB / 0.5682 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.4031, allocations: 131.9 kB / 0.5683 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.4059, allocations: 1.349 MB / 0.5697 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/0.4059, allocations: 4 kB / 0.5697 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.406, allocations: 40 kB / 0.5697 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.4062, allocations: 73.97 kB / 0.5698 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.4084, allocations: 1.066 MB / 0.5708 GB, free: 7.957 MB / 414.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.008538/0.4169, allocations: 4.997 MB / 0.5757 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.4184, allocations: 0.6529 MB / 0.5763 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.419, allocations: 330.2 kB / 0.5766 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/0.419, allocations: 12.48 kB / 0.5766 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.4191, allocations: 39.06 kB / 0.5767 GB, free: 1.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.515e-06/0.4191, allocations: 0 / 0.5767 GB, free: 1.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.006262/0.4253, allocations: 2.489 MB / 0.5791 GB, free: 15.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.4254, allocations: 153.2 kB / 0.5793 GB, free: 14.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.4266, allocations: 0.7433 MB / 0.58 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.4266, allocations: 37.7 kB / 0.58 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.4272, allocations: 0.5742 MB / 0.5806 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.4274, allocations: 273.7 kB / 0.5808 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.4277, allocations: 162.6 kB / 0.581 GB, free: 13.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4279, allocations: 337.9 kB / 0.5813 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.4285, allocations: 300.7 kB / 0.5816 GB, free: 12.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.4293, allocations: 0.549 MB / 0.5821 GB, free: 11.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.4307, allocations: 0.8978 MB / 0.583 GB, free: 10.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.4307, allocations: 7.938 kB / 0.583 GB, free: 10.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003134/0.4338, allocations: 1.329 MB / 0.5843 GB, free: 9.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.4339, allocations: 8 kB / 0.5843 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.4339, allocations: 8 kB / 0.5843 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.4354, allocations: 412.8 kB / 0.5847 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.4361, allocations: 167.7 kB / 0.5849 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009409/0.4455, allocations: 5.193 MB / 0.59 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.4464, allocations: 39.98 kB / 0.59 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4465, allocations: 39.98 kB / 0.59 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001117/0.4476, allocations: 0.5526 MB / 0.5906 GB, free: 2.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007803/0.4484, allocations: 0.5373 MB / 0.5911 GB, free: 2.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001378/0.4498, allocations: 0.8861 MB / 0.592 GB, free: 1.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.967e-06/0.4498, allocations: 3.938 kB / 0.592 GB, free: 1.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002924/0.4527, allocations: 1.254 MB / 0.5932 GB, free: 44 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4527, allocations: 8 kB / 0.5932 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.4528, allocations: 8 kB / 0.5932 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.4542, allocations: 401 kB / 0.5936 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.4548, allocations: 167.7 kB / 0.5938 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008389/0.4632, allocations: 4.947 MB / 0.5986 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.464, allocations: 35.98 kB / 0.5986 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.4642, allocations: 32 kB / 0.5987 GB, free: 10.34 MB / 446.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.0003563/0.4645, allocations: 240 kB / 0.5989 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.4648, allocations: 99.31 kB / 0.599 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.4665, allocations: 0.7999 MB / 0.5998 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4665, allocations: 8 kB / 0.5998 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4665, allocations: 4 kB / 0.5998 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4665, allocations: 3.984 kB / 0.5998 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.4702, allocations: 1.828 MB / 0.6016 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4702, allocations: 4 kB / 0.6016 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/0.471, allocations: 159.8 kB / 0.6017 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.471, allocations: 7.984 kB / 0.6017 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.4711, allocations: 19.94 kB / 0.6017 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.4711, allocations: 4 kB / 0.6017 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4711, allocations: 4 kB / 0.6018 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.4732, allocations: 1.268 MB / 0.603 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.4736, allocations: 151.3 kB / 0.6031 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.4738, allocations: 19.94 kB / 0.6032 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.4744, allocations: 35.91 kB / 0.6032 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.4744, allocations: 40.58 kB / 0.6032 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.4745, allocations: 23.98 kB / 0.6033 GB, free: 5.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008224/0.4753, allocations: 0.5146 MB / 0.6038 GB, free: 5.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4753, allocations: 0 / 0.6038 GB, free: 5.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001822/0.4771, allocations: 459.9 kB / 0.6042 GB, free: 4.578 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.0003668/0.4775, allocations: 149.7 kB / 0.6043 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003933/0.4814, allocations: 1.834 MB / 0.6061 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.4814, allocations: 0 / 0.6061 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.4821, allocations: 331.5 kB / 0.6064 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.4835, allocations: 269.8 kB / 0.6067 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.4885, allocations: 2.587 MB / 0.6092 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.4897, allocations: 1.201 MB / 0.6104 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.49, allocations: 75.36 kB / 0.6105 GB, free: 14.05 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.49, allocations: 0 / 0.6105 GB, free: 14.05 MB / 462.1 MB Notification: Performance of Templates: time 0.02941/0.5194, allocations: 17.31 MB / 0.6274 GB, free: 12.79 MB / 478.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] [Calling sys.exit(0), Time elapsed: 10.33897139201872] Failed to read output from testmodel.py, exit status != 0: 0.5302348982077092 0.546292319 0.147798156 Calling exit ...