Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001913/0.001913, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002416/0.002416, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1848/0.1848, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [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.002106/0.002106, allocations: 67.89 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3108, allocations: 62.46 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006539/0.3173, allocations: 4.462 MB / 0.5475 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.3198, allocations: 1.273 MB / 0.5488 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.3201, allocations: 17.53 kB / 0.5488 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3213, allocations: 383 kB / 0.5491 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.322, allocations: 261.1 kB / 0.5494 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.3225, allocations: 168.6 kB / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.3232, allocations: 0.5553 MB / 0.5501 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.3237, allocations: 234.1 kB / 0.5503 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.3241, allocations: 273.5 kB / 0.5506 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.3246, allocations: 291.8 kB / 0.5509 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.3247, allocations: 33.5 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.325, allocations: 122.2 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.3252, allocations: 200.7 kB / 0.5512 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3254, allocations: 179.7 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.3261, allocations: 0.5184 MB / 0.5519 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3261, allocations: 0 / 0.5519 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3261, allocations: 0 / 0.5519 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3261, allocations: 4.938 kB / 0.5519 GB, free: 9.977 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00124/0.3273, allocations: 0.6336 MB / 0.5525 GB, free: 9.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3274, allocations: 14.14 kB / 0.5525 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.328, allocations: 87.3 kB / 0.5526 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.3287, allocations: 349.5 kB / 0.5529 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.3288, allocations: 22.84 kB / 0.553 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3289, allocations: 51.61 kB / 0.553 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/0.3297, allocations: 476.7 kB / 0.5535 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.3297, allocations: 5.875 kB / 0.5535 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3297, allocations: 11.41 kB / 0.5535 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.3298, allocations: 32.36 kB / 0.5535 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.3304, allocations: 348.2 kB / 0.5538 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.3327, allocations: 1.421 MB / 0.5552 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3329, allocations: 148 kB / 0.5554 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.3331, allocations: 105.5 kB / 0.5555 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3331, allocations: 2.219 kB / 0.5555 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3332, allocations: 36.94 kB / 0.5555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.734e-06/0.3332, allocations: 0 / 0.5555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001606/0.3348, allocations: 0.7431 MB / 0.5562 GB, free: 6.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.3348, allocations: 81.14 kB / 0.5563 GB, free: 6.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3352, allocations: 296.5 kB / 0.5566 GB, free: 6.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3352, allocations: 29.7 kB / 0.5566 GB, free: 6.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3354, allocations: 263.9 kB / 0.5569 GB, free: 5.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.3354, allocations: 59.48 kB / 0.5569 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3356, allocations: 65.92 kB / 0.557 GB, free: 5.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3357, allocations: 342.8 kB / 0.5573 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3359, allocations: 100.2 kB / 0.5574 GB, free: 5.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3361, allocations: 197.3 kB / 0.5576 GB, free: 5.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.3366, allocations: 334.2 kB / 0.5579 GB, free: 4.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3366, allocations: 4 kB / 0.5579 GB, free: 4.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009316/0.3375, allocations: 464.4 kB / 0.5584 GB, free: 4.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3375, allocations: 12 kB / 0.5584 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000627/0.3382, allocations: 308.8 kB / 0.5587 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.3387, allocations: 132.7 kB / 0.5588 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.3389, allocations: 59.84 kB / 0.5589 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.342, allocations: 2.291 MB / 0.5611 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3422, allocations: 11.98 kB / 0.5611 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.3423, allocations: 19.94 kB / 0.5611 GB, free: 1.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.3425, allocations: 189.7 kB / 0.5613 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.3426, allocations: 31.81 kB / 0.5613 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.3431, allocations: 260.5 kB / 0.5616 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3431, allocations: 4 kB / 0.5616 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3431, allocations: 3.938 kB / 0.5616 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3431, allocations: 3.938 kB / 0.5616 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3443, allocations: 0.6369 MB / 0.5622 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3444, allocations: 0 / 0.5622 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.3446, allocations: 47.91 kB / 0.5623 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.3447, allocations: 36.81 kB / 0.5623 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3447, allocations: 8 kB / 0.5623 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3447, allocations: 0 / 0.5623 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3447, allocations: 0 / 0.5623 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.3453, allocations: 442.6 kB / 0.5627 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3454, allocations: 27.81 kB / 0.5628 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.3454, allocations: 8.031 kB / 0.5628 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3456, allocations: 8 kB / 0.5628 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3456, allocations: 11.97 kB / 0.5628 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3456, allocations: 12 kB / 0.5628 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.3459, allocations: 203.1 kB / 0.563 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3459, allocations: 0 / 0.563 GB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004988/0.3464, allocations: 87.94 kB / 0.5631 GB, free: 15.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.3465, allocations: 103.2 kB / 0.5632 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007671/0.3473, allocations: 405.7 kB / 0.5636 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3473, allocations: 0 / 0.5636 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.3475, allocations: 104.9 kB / 0.5637 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.3479, allocations: 60.72 kB / 0.5637 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3495, allocations: 0.9269 MB / 0.5646 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3498, allocations: 244.9 kB / 0.5648 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.3499, allocations: 23.44 kB / 0.5649 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3499, allocations: 7.938 kB / 0.5649 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Templates: time 0.009298/0.3592, allocations: 5.866 MB / 0.5706 GB, free: 7.438 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.205337849911302] Failed to read output from testmodel.py, exit status != 0: 0.3683159193024039 0.383365602 0.053991627 Calling exit ...