Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001386/0.001386, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002223/0.002223, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [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.002872/0.002872, allocations: 71.89 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.338, allocations: 62.46 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006648/0.3446, allocations: 4.498 MB / 0.5468 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3472, allocations: 1.265 MB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3473, allocations: 25.03 kB / 0.5481 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3485, allocations: 394.8 kB / 0.5485 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.349, allocations: 248.2 kB / 0.5487 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.3495, allocations: 176.3 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.3501, allocations: 0.5573 MB / 0.5494 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.3505, allocations: 235.5 kB / 0.5496 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.351, allocations: 276.4 kB / 0.5499 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.3515, allocations: 274.8 kB / 0.5502 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.3516, allocations: 29.91 kB / 0.5502 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.3519, allocations: 127.2 kB / 0.5503 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.3521, allocations: 196.1 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.3524, allocations: 176.4 kB / 0.5507 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.3531, allocations: 0.5232 MB / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3531, allocations: 1.125 kB / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3531, allocations: 0 / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3531, allocations: 0 / 0.5512 GB, free: 9.941 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.001187/0.3543, allocations: 0.6297 MB / 0.5518 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3543, allocations: 13.52 kB / 0.5518 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.3549, allocations: 92.02 kB / 0.5519 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.3557, allocations: 340 kB / 0.5522 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.3557, allocations: 34.39 kB / 0.5522 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.3559, allocations: 52.42 kB / 0.5523 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.3567, allocations: 469.2 kB / 0.5527 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3567, allocations: 1.188 kB / 0.5527 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.3567, allocations: 16.11 kB / 0.5528 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3568, allocations: 27.88 kB / 0.5528 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.3574, allocations: 336.9 kB / 0.5531 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3596, allocations: 1.398 MB / 0.5545 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3599, allocations: 136.2 kB / 0.5546 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.36, allocations: 105.8 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.36, allocations: 2.281 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3601, allocations: 36.91 kB / 0.5547 GB, free: 7.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3601, allocations: 5.5 kB / 0.5547 GB, free: 7.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001502/0.3616, allocations: 0.7207 MB / 0.5554 GB, free: 6.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.3617, allocations: 77.11 kB / 0.5555 GB, free: 6.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.362, allocations: 292.4 kB / 0.5558 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.362, allocations: 29.7 kB / 0.5558 GB, free: 6.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3622, allocations: 260 kB / 0.5561 GB, free: 5.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.3623, allocations: 63.61 kB / 0.5561 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3624, allocations: 61.94 kB / 0.5562 GB, free: 5.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3626, allocations: 342.8 kB / 0.5565 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.3627, allocations: 88.23 kB / 0.5566 GB, free: 5.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.363, allocations: 197.3 kB / 0.5568 GB, free: 5.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.3634, allocations: 318.6 kB / 0.5571 GB, free: 4.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3634, allocations: 0 / 0.5571 GB, free: 4.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008708/0.3643, allocations: 445.6 kB / 0.5575 GB, free: 4.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3643, allocations: 10.97 kB / 0.5575 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006046/0.3649, allocations: 288 kB / 0.5578 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.3654, allocations: 128.8 kB / 0.5579 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3656, allocations: 51.91 kB / 0.558 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.3685, allocations: 2.235 MB / 0.5602 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3687, allocations: 19.98 kB / 0.5602 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3687, allocations: 12 kB / 0.5602 GB, free: 1.52 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.0002357/0.369, allocations: 197.6 kB / 0.5604 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.369, allocations: 27.81 kB / 0.5604 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.3695, allocations: 255.7 kB / 0.5606 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3695, allocations: 4 kB / 0.5607 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.3695, allocations: 0 / 0.5607 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3695, allocations: 3.938 kB / 0.5607 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3706, allocations: 0.6021 MB / 0.5612 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3706, allocations: 4.031 kB / 0.5612 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.3708, allocations: 39.92 kB / 0.5613 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.3709, allocations: 36.77 kB / 0.5613 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3709, allocations: 4 kB / 0.5613 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.3723, allocations: 1.462 MB / 0.5628 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3723, allocations: 4 kB / 0.5628 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.3729, allocations: 418.6 kB / 0.5632 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3729, allocations: 31.75 kB / 0.5632 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.373, allocations: 4 kB / 0.5632 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3731, allocations: 11.98 kB / 0.5632 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3732, allocations: 11.92 kB / 0.5632 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3732, allocations: 8 kB / 0.5632 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.3734, allocations: 207.2 kB / 0.5634 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3734, allocations: 0 / 0.5634 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.3739, allocations: 88 kB / 0.5635 GB, free: 13.93 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.374, allocations: 99.23 kB / 0.5636 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007688/0.3748, allocations: 390.4 kB / 0.564 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3748, allocations: 0 / 0.564 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.3751, allocations: 227.3 kB / 0.5642 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.3756, allocations: 64.5 kB / 0.5642 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3771, allocations: 0.8782 MB / 0.5651 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3773, allocations: 237.1 kB / 0.5653 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.3775, allocations: 62.86 kB / 0.5654 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.3775, allocations: 27.42 kB / 0.5654 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3775, allocations: 0 / 0.5654 GB, free: 11.87 MB / 414.1 MB Notification: Performance of Templates: time 0.008987/0.3865, allocations: 4.326 MB / 0.5696 GB, free: 7.609 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.327647000551224] Failed to read output from testmodel.py, exit status != 0: 0.3965790830552578 0.42404669 0.06552276700000001 Calling exit ...