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.001356/0.001356, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001497/0.001497, allocations: 209.5 kB / 24.48 MB, free: 3.938 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.1913/0.1913, allocations: 38.54 MB / 353.2 MB, free: 12.3 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.002172/0.002172, allocations: 67.89 kB / 493.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3033, allocations: 62.45 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01136/0.3147, allocations: 8.702 MB / 0.5517 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006379/0.3211, allocations: 3.093 MB / 0.5547 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.3222, allocations: 50.59 kB / 0.5547 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.3239, allocations: 399.4 kB / 0.5551 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.3266, allocations: 0.8143 MB / 0.5559 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3279, allocations: 480 kB / 0.5564 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.3307, allocations: 1.88 MB / 0.5582 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.3322, allocations: 0.9401 MB / 0.5591 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.3335, allocations: 0.7745 MB / 0.5599 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.3347, allocations: 0.8054 MB / 0.5607 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.335, allocations: 140 kB / 0.5608 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.3358, allocations: 395.5 kB / 0.5612 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005156/0.3363, allocations: 0.5024 MB / 0.5617 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.3369, allocations: 0.5639 MB / 0.5622 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.3393, allocations: 2.012 MB / 0.5642 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3393, allocations: 0 / 0.5642 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3393, allocations: 0 / 0.5642 GB, free: 14.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.363e-05/0.3393, allocations: 0 / 0.5642 GB, free: 14.61 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.003322/0.3427, allocations: 1.606 MB / 0.5657 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3427, allocations: 11.98 kB / 0.5658 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.3435, allocations: 196 kB / 0.5659 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.3454, allocations: 0.8707 MB / 0.5668 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.3455, allocations: 78.06 kB / 0.5669 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.3458, allocations: 123.9 kB / 0.567 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.3481, allocations: 1.4 MB / 0.5684 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.3482, allocations: 3.984 kB / 0.5684 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3483, allocations: 48 kB / 0.5684 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.3484, allocations: 69.92 kB / 0.5685 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3503, allocations: 1.073 MB / 0.5695 GB, free: 8.977 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.007222/0.3575, allocations: 4.39 MB / 0.5738 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.3588, allocations: 0.6442 MB / 0.5744 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.3593, allocations: 327.5 kB / 0.5748 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.3594, allocations: 12.44 kB / 0.5748 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.3594, allocations: 47 kB / 0.5748 GB, free: 3.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 3.155e-06/0.3594, allocations: 0 / 0.5748 GB, free: 3.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.005779/0.3652, allocations: 2.483 MB / 0.5772 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3653, allocations: 170.9 kB / 0.5774 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.3662, allocations: 0.6802 MB / 0.5781 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.3663, allocations: 41.7 kB / 0.5781 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.3667, allocations: 0.578 MB / 0.5787 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.367, allocations: 269.7 kB / 0.5789 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3672, allocations: 162.6 kB / 0.5791 GB, free: 14.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3675, allocations: 394.7 kB / 0.5795 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.368, allocations: 304.8 kB / 0.5797 GB, free: 14.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.3688, allocations: 0.6001 MB / 0.5803 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.3702, allocations: 0.9017 MB / 0.5812 GB, free: 12.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.3702, allocations: 4 kB / 0.5812 GB, free: 12.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002981/0.3732, allocations: 1.329 MB / 0.5825 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3732, allocations: 8 kB / 0.5825 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3732, allocations: 8 kB / 0.5825 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.3746, allocations: 408.6 kB / 0.5829 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.3753, allocations: 171.7 kB / 0.5831 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008805/0.3841, allocations: 5.089 MB / 0.588 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/0.3848, allocations: 47.92 kB / 0.5881 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.3849, allocations: 40 kB / 0.5881 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009666/0.3859, allocations: 0.5565 MB / 0.5887 GB, free: 4.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007342/0.3866, allocations: 0.5883 MB / 0.5893 GB, free: 3.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/0.3879, allocations: 0.8822 MB / 0.5901 GB, free: 2.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.3879, allocations: 3.938 kB / 0.5901 GB, free: 2.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002567/0.3904, allocations: 1.247 MB / 0.5913 GB, free: 1.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3905, allocations: 15.92 kB / 0.5913 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3905, allocations: 8.312 kB / 0.5914 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.3917, allocations: 392.5 kB / 0.5917 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.3924, allocations: 175.7 kB / 0.5919 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/0.4001, allocations: 4.844 MB / 0.5966 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.401, allocations: 35.94 kB / 0.5967 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.4011, allocations: 43.98 kB / 0.5967 GB, free: 12.09 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.0004167/0.4015, allocations: 240 kB / 0.5969 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.4017, allocations: 87.44 kB / 0.597 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.4035, allocations: 0.7915 MB / 0.5978 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.4035, allocations: 8 kB / 0.5978 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4035, allocations: 3.984 kB / 0.5978 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4035, allocations: 3.984 kB / 0.5978 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.4067, allocations: 1.599 MB / 0.5994 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4067, allocations: 0 / 0.5994 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.4075, allocations: 167.8 kB / 0.5995 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.4075, allocations: 4 kB / 0.5995 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.4076, allocations: 12 kB / 0.5995 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.4076, allocations: 4 kB / 0.5995 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4076, allocations: 4.031 kB / 0.5996 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.4095, allocations: 1.28 MB / 0.6008 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4098, allocations: 143.4 kB / 0.6009 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4099, allocations: 15.94 kB / 0.601 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.4104, allocations: 31.97 kB / 0.601 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.4105, allocations: 44.52 kB / 0.601 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.4105, allocations: 23.98 kB / 0.601 GB, free: 7.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000601/0.4111, allocations: 467 kB / 0.6015 GB, free: 7.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4111, allocations: 4 kB / 0.6015 GB, free: 7.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001585/0.4127, allocations: 463.9 kB / 0.6019 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.0003671/0.4131, allocations: 142.4 kB / 0.6021 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.4166, allocations: 1.841 MB / 0.6039 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4166, allocations: 1.562 kB / 0.6039 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.4171, allocations: 331.5 kB / 0.6042 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4182, allocations: 216.6 kB / 0.6044 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.4225, allocations: 2.577 MB / 0.6069 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.4232, allocations: 0.6068 MB / 0.6075 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.4235, allocations: 67.42 kB / 0.6076 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4235, allocations: 3.938 kB / 0.6076 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of Templates: time 0.02633/0.4498, allocations: 17.12 MB / 0.6243 GB, free: 15.67 MB / 478.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.079627383034676] Failed to read output from testmodel.py, exit status != 0: 0.4591276040300727 0.473367397 0.130922211 Calling exit ...