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.001817/0.001817, 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.002256/0.002256, allocations: 214.1 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.46/1.46, 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.184/0.184, 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.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.003471/0.003471, allocations: 67.89 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3355, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006773/0.3422, allocations: 4.49 MB / 0.5476 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.3447, allocations: 1.266 MB / 0.5488 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.3449, allocations: 20.69 kB / 0.5488 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3462, allocations: 386.8 kB / 0.5492 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006195/0.3468, allocations: 252.2 kB / 0.5494 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.3473, allocations: 180.2 kB / 0.5496 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.3479, allocations: 0.5576 MB / 0.5501 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.3483, allocations: 233.6 kB / 0.5504 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.3488, allocations: 277.3 kB / 0.5506 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.3493, allocations: 274.1 kB / 0.5509 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.3493, allocations: 30.62 kB / 0.5509 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.3497, allocations: 130.6 kB / 0.551 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.3499, allocations: 192.7 kB / 0.5512 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3501, allocations: 179.4 kB / 0.5514 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.3508, allocations: 0.5122 MB / 0.5519 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3508, allocations: 1.469 kB / 0.5519 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3508, allocations: 0 / 0.5519 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3508, allocations: 0 / 0.5519 GB, free: 9.969 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.001275/0.3521, allocations: 0.6335 MB / 0.5525 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3521, allocations: 16.73 kB / 0.5525 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000615/0.3527, allocations: 91.86 kB / 0.5526 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.3535, allocations: 347.9 kB / 0.5529 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.3535, allocations: 27.72 kB / 0.553 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.3537, allocations: 46.75 kB / 0.553 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.3545, allocations: 474.5 kB / 0.5535 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.3545, allocations: 1.188 kB / 0.5535 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.3545, allocations: 11.5 kB / 0.5535 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.3546, allocations: 37.86 kB / 0.5535 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.3552, allocations: 331.8 kB / 0.5538 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.3575, allocations: 1.401 MB / 0.5552 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.3578, allocations: 135.5 kB / 0.5553 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3579, allocations: 102.9 kB / 0.5554 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.358, allocations: 6.406 kB / 0.5554 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.358, allocations: 44.91 kB / 0.5555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.358, allocations: 0 / 0.5555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001562/0.3596, allocations: 0.7175 MB / 0.5562 GB, free: 6.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.3596, allocations: 77.11 kB / 0.5563 GB, free: 6.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.36, allocations: 296.4 kB / 0.5565 GB, free: 6.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.36, allocations: 33.83 kB / 0.5566 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.3602, allocations: 256 kB / 0.5568 GB, free: 5.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.3603, allocations: 63.47 kB / 0.5569 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3604, allocations: 61.94 kB / 0.5569 GB, free: 5.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3606, allocations: 338.8 kB / 0.5573 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3607, allocations: 92.22 kB / 0.5573 GB, free: 5.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.361, allocations: 193.3 kB / 0.5575 GB, free: 5.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.3614, allocations: 314.4 kB / 0.5578 GB, free: 4.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3614, allocations: 4 kB / 0.5578 GB, free: 4.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009021/0.3623, allocations: 443.7 kB / 0.5583 GB, free: 4.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3624, allocations: 11.94 kB / 0.5583 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000577/0.3629, allocations: 285.3 kB / 0.5585 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.3634, allocations: 132.7 kB / 0.5587 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3636, allocations: 47.92 kB / 0.5587 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.3665, allocations: 2.238 MB / 0.5609 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.3667, allocations: 15.98 kB / 0.5609 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3668, allocations: 20 kB / 0.5609 GB, free: 1.559 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.0002593/0.367, allocations: 193.5 kB / 0.5611 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.3671, allocations: 27.81 kB / 0.5611 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.3675, allocations: 255.5 kB / 0.5614 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3676, allocations: 4.062 kB / 0.5614 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3676, allocations: 4 kB / 0.5614 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3676, allocations: 0 / 0.5614 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.3687, allocations: 0.6095 MB / 0.562 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3687, allocations: 0 / 0.562 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3689, allocations: 39.97 kB / 0.562 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.3691, allocations: 36.72 kB / 0.5621 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.3691, allocations: 4 kB / 0.5621 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.3705, allocations: 1.458 MB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3705, allocations: 0 / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.3711, allocations: 422.5 kB / 0.5639 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.3712, allocations: 27.81 kB / 0.5639 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.3712, allocations: 11.97 kB / 0.5639 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3713, allocations: 8.156 kB / 0.5639 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3714, allocations: 20 kB / 0.564 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3714, allocations: 4 kB / 0.564 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.3716, allocations: 207.1 kB / 0.5642 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3716, allocations: 0 / 0.5642 GB, free: 14.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.3721, allocations: 84 kB / 0.5642 GB, free: 13.98 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.0001361/0.3722, allocations: 107.2 kB / 0.5643 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.3729, allocations: 393.2 kB / 0.5647 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3729, allocations: 0 / 0.5647 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.3733, allocations: 228.1 kB / 0.5649 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.3737, allocations: 60.69 kB / 0.565 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3753, allocations: 0.9227 MB / 0.5659 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3756, allocations: 237.1 kB / 0.5661 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.3757, allocations: 23.44 kB / 0.5661 GB, free: 11.92 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3757, allocations: 0 / 0.5661 GB, free: 11.92 MB / 414.1 MB Notification: Performance of Templates: time 0.009613/0.3853, allocations: 5.871 MB / 0.5719 GB, free: 6.059 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: 8.148343542125076] Failed to read output from testmodel.py, exit status != 0: 0.3967911386862397 0.40862256499999994 0.05468002799999994 Calling exit ...