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.001517/0.001517, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001701/0.001701, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2294/0.2294, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002143/0.002143, allocations: 63.91 kB / 493 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.0143/0.4106, allocations: 8.698 MB / 0.5509 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00838/0.419, allocations: 3.085 MB / 0.554 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.421, allocations: 51.47 kB / 0.554 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.4234, allocations: 406.3 kB / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.4271, allocations: 0.8114 MB / 0.5552 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.4291, allocations: 486.1 kB / 0.5556 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.4334, allocations: 1.879 MB / 0.5575 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.4357, allocations: 0.9324 MB / 0.5584 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.4377, allocations: 0.7822 MB / 0.5592 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.4398, allocations: 0.7937 MB / 0.5599 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005417/0.4403, allocations: 144 kB / 0.5601 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4416, allocations: 399.5 kB / 0.5604 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.4426, allocations: 0.5024 MB / 0.5609 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.4442, allocations: 0.5678 MB / 0.5615 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.448, allocations: 2.008 MB / 0.5635 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.448, allocations: 0 / 0.5635 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.448, allocations: 0 / 0.5635 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.995e-05/0.448, allocations: 0 / 0.5635 GB, free: 14.6 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.004033/0.4521, allocations: 1.609 MB / 0.565 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4521, allocations: 15.98 kB / 0.565 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.453, allocations: 196 kB / 0.5652 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.4553, allocations: 0.8707 MB / 0.5661 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.11e-05/0.4554, allocations: 78.06 kB / 0.5662 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.4558, allocations: 123.9 kB / 0.5663 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.4585, allocations: 1.4 MB / 0.5676 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.4585, allocations: 4 kB / 0.5676 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.4586, allocations: 44 kB / 0.5677 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.4588, allocations: 81.89 kB / 0.5678 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.461, allocations: 1.062 MB / 0.5688 GB, free: 8.969 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.008482/0.4695, allocations: 4.39 MB / 0.5731 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4708, allocations: 0.6481 MB / 0.5737 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.4714, allocations: 316 kB / 0.574 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.4714, allocations: 8.5 kB / 0.574 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.4715, allocations: 47 kB / 0.5741 GB, free: 3.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 3.145e-06/0.4715, allocations: 0 / 0.5741 GB, free: 3.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.006463/0.478, allocations: 2.491 MB / 0.5765 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4781, allocations: 166.9 kB / 0.5767 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.4792, allocations: 0.6803 MB / 0.5773 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.4792, allocations: 41.7 kB / 0.5774 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.4798, allocations: 0.5819 MB / 0.5779 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.48, allocations: 261.8 kB / 0.5782 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.4803, allocations: 162.6 kB / 0.5783 GB, free: 14.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.4805, allocations: 402.7 kB / 0.5787 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.4811, allocations: 300.7 kB / 0.579 GB, free: 14.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.4819, allocations: 0.6001 MB / 0.5796 GB, free: 13.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.4834, allocations: 0.9057 MB / 0.5805 GB, free: 12.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.4834, allocations: 0 / 0.5805 GB, free: 12.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003169/0.4866, allocations: 1.337 MB / 0.5818 GB, free: 11.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4866, allocations: 8 kB / 0.5818 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.4866, allocations: 8 kB / 0.5818 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.4881, allocations: 412.6 kB / 0.5822 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006894/0.4888, allocations: 167.7 kB / 0.5824 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009888/0.4987, allocations: 5.084 MB / 0.5873 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.4996, allocations: 43.94 kB / 0.5874 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.4997, allocations: 36 kB / 0.5874 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.501, allocations: 0.5565 MB / 0.5879 GB, free: 4.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009344/0.5019, allocations: 0.5923 MB / 0.5885 GB, free: 3.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001505/0.5034, allocations: 0.8822 MB / 0.5894 GB, free: 2.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.17e-05/0.5034, allocations: 7.938 kB / 0.5894 GB, free: 2.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.003042/0.5065, allocations: 1.247 MB / 0.5906 GB, free: 1.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5065, allocations: 8.312 kB / 0.5906 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.5065, allocations: 12 kB / 0.5906 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5079, allocations: 396.5 kB / 0.591 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.5086, allocations: 175.7 kB / 0.5912 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008785/0.5173, allocations: 4.842 MB / 0.5959 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/0.5183, allocations: 39.94 kB / 0.5959 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.5184, allocations: 36 kB / 0.596 GB, free: 12.08 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.0004624/0.5189, allocations: 240 kB / 0.5962 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.5192, allocations: 91.44 kB / 0.5963 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.5209, allocations: 0.7876 MB / 0.5971 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.521, allocations: 11.98 kB / 0.5971 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.521, allocations: 0 / 0.5971 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.521, allocations: 7.984 kB / 0.5971 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.5247, allocations: 1.595 MB / 0.5986 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5247, allocations: 0 / 0.5986 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/0.5256, allocations: 159.8 kB / 0.5988 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/0.5256, allocations: 4 kB / 0.5988 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.5257, allocations: 20 kB / 0.5988 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.5257, allocations: 7.984 kB / 0.5988 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5257, allocations: 8.031 kB / 0.5988 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.5279, allocations: 1.268 MB / 0.6001 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.5283, allocations: 143.4 kB / 0.6002 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.5285, allocations: 23.92 kB / 0.6002 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.529, allocations: 27.98 kB / 0.6002 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5291, allocations: 48.5 kB / 0.6003 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.5292, allocations: 16 kB / 0.6003 GB, free: 7.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000785/0.53, allocations: 471 kB / 0.6008 GB, free: 7.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.53, allocations: 0 / 0.6008 GB, free: 7.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002047/0.532, allocations: 463.9 kB / 0.6012 GB, free: 6.641 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.0004152/0.5324, allocations: 142.7 kB / 0.6013 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004146/0.5366, allocations: 1.837 MB / 0.6031 GB, free: 4.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.5366, allocations: 1.562 kB / 0.6031 GB, free: 4.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.5372, allocations: 339.5 kB / 0.6035 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.5385, allocations: 213.4 kB / 0.6037 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.5436, allocations: 2.507 MB / 0.6061 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009616/0.5445, allocations: 0.6107 MB / 0.6067 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008871/0.5454, allocations: 234.7 kB / 0.6069 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.5457, allocations: 71.36 kB / 0.607 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5457, allocations: 0 / 0.607 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of Templates: time 0.03217/0.5778, allocations: 17.55 MB / 0.6241 GB, free: 15.25 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: 5.946913478896022] Failed to read output from testmodel.py, exit status != 0: 0.5880955159664154 0.602077863 0.15077779500000002 Calling exit ...