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.001308/0.001308, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001442/0.001442, allocations: 203.5 kB / 23.73 MB, free: 4.379 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.1849/0.1849, allocations: 38.56 MB / 352.5 MB, free: 12.27 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) [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.003374/0.003374, allocations: 67.91 kB / 492.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3296, allocations: 62.47 MB / 0.5419 GB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006326/0.3359, allocations: 4.485 MB / 0.5463 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3382, allocations: 1.273 MB / 0.5476 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3383, allocations: 20.88 kB / 0.5476 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.3395, allocations: 387.4 kB / 0.548 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.34, allocations: 247.8 kB / 0.5482 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.3405, allocations: 172.7 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.3411, allocations: 0.5657 MB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.3415, allocations: 226.7 kB / 0.5491 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.3419, allocations: 272.1 kB / 0.5494 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.3423, allocations: 305.6 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.3424, allocations: 30.88 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.3426, allocations: 135.5 kB / 0.5498 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.3428, allocations: 188.1 kB / 0.55 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3431, allocations: 184.5 kB / 0.5502 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3437, allocations: 0.5167 MB / 0.5507 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3437, allocations: 0 / 0.5507 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3437, allocations: 0 / 0.5507 GB, free: 9.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3437, allocations: 0 / 0.5507 GB, free: 9.734 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.001145/0.3448, allocations: 0.6332 MB / 0.5513 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3449, allocations: 13.77 kB / 0.5513 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.345, allocations: 72.38 kB / 0.5514 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.3455, allocations: 91.45 kB / 0.5515 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.3462, allocations: 347.7 kB / 0.5518 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.3463, allocations: 27.66 kB / 0.5518 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.3464, allocations: 46.8 kB / 0.5519 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.3472, allocations: 474.2 kB / 0.5523 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3472, allocations: 1.094 kB / 0.5523 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.3472, allocations: 15.31 kB / 0.5524 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3473, allocations: 32.67 kB / 0.5524 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.3479, allocations: 333.2 kB / 0.5527 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.3501, allocations: 1.471 MB / 0.5541 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.3504, allocations: 139.1 kB / 0.5543 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3506, allocations: 103.5 kB / 0.5544 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3506, allocations: 2.219 kB / 0.5544 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3506, allocations: 36.94 kB / 0.5544 GB, free: 6.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3506, allocations: 0 / 0.5544 GB, free: 6.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001477/0.3521, allocations: 0.7093 MB / 0.5551 GB, free: 6.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.3521, allocations: 79.27 kB / 0.5552 GB, free: 6.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.3525, allocations: 316 kB / 0.5555 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3525, allocations: 29.7 kB / 0.5555 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3527, allocations: 252 kB / 0.5558 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.3528, allocations: 71.45 kB / 0.5558 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3529, allocations: 57.94 kB / 0.5559 GB, free: 5.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.353, allocations: 346.8 kB / 0.5562 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3532, allocations: 92.22 kB / 0.5563 GB, free: 5.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.3534, allocations: 189.5 kB / 0.5565 GB, free: 4.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.3539, allocations: 318.1 kB / 0.5568 GB, free: 4.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3539, allocations: 7.938 kB / 0.5568 GB, free: 4.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009004/0.3548, allocations: 457.6 kB / 0.5572 GB, free: 4.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3548, allocations: 10.81 kB / 0.5572 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005933/0.3554, allocations: 287.6 kB / 0.5575 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.3558, allocations: 120.8 kB / 0.5576 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.356, allocations: 67.97 kB / 0.5577 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.359, allocations: 2.253 MB / 0.5599 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3592, allocations: 19.94 kB / 0.5599 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3592, allocations: 15.98 kB / 0.5599 GB, free: 1.305 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.0002216/0.3594, allocations: 185.7 kB / 0.5601 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.3595, allocations: 31.8 kB / 0.5601 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.36, allocations: 249.2 kB / 0.5604 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.36, allocations: 15.88 kB / 0.5604 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.36, allocations: 0 / 0.5604 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.36, allocations: 0 / 0.5604 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3611, allocations: 0.664 MB / 0.561 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3612, allocations: 0 / 0.561 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3614, allocations: 35.92 kB / 0.5611 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.3615, allocations: 36.89 kB / 0.5611 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3615, allocations: 8 kB / 0.5611 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3629, allocations: 1.492 MB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3629, allocations: 0 / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.3634, allocations: 422.8 kB / 0.563 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.3635, allocations: 27.75 kB / 0.563 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.3635, allocations: 8 kB / 0.563 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3637, allocations: 8.031 kB / 0.563 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3637, allocations: 11.98 kB / 0.563 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3637, allocations: 7.984 kB / 0.563 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.364, allocations: 215.1 kB / 0.5632 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.364, allocations: 0 / 0.5632 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.3644, allocations: 88 kB / 0.5633 GB, free: 13.6 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.0009225/0.3654, allocations: 0.9653 MB / 0.5643 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007382/0.3661, allocations: 386.7 kB / 0.5646 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3661, allocations: 192 / 0.5646 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.3665, allocations: 231.3 kB / 0.5648 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.367, allocations: 64.12 kB / 0.5649 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.3719, allocations: 3.515 MB / 0.5683 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3723, allocations: 237 kB / 0.5686 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.3724, allocations: 58.94 kB / 0.5686 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3726, allocations: 131.4 kB / 0.5687 GB, free: 7.754 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3727, allocations: 0 / 0.5687 GB, free: 7.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05972/0.4324, allocations: 8.169 MB / 0.5767 GB, free: 15.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.23, allocations: 7.125 kB / 0.5767 GB, free: 15.75 MB / 430.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.058790281007532] Failed to read output from testmodel.py, exit status != 0: 13.360904895002022 13.383006297 13.034915894 Calling exit ...