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.001514/0.001514, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001553/0.001553, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.465/1.465, 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.1907/0.1907, allocations: 38.56 MB / 352.5 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: "" <> 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.002149/0.002149, allocations: 75.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3171, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00631/0.3234, allocations: 4.496 MB / 0.5463 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3256, allocations: 1.269 MB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3257, allocations: 21.78 kB / 0.5476 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.3269, allocations: 386.2 kB / 0.548 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.3274, allocations: 253.1 kB / 0.5482 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.3278, allocations: 171.4 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.3284, allocations: 0.5667 MB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.3288, allocations: 234.9 kB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.3292, allocations: 271.9 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.3297, allocations: 277.9 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.3297, allocations: 30.97 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.33, allocations: 127.4 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.3302, allocations: 191.9 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3304, allocations: 183.4 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005982/0.331, allocations: 0.5136 MB / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.331, allocations: 0 / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.331, allocations: 0 / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.331, allocations: 3.984 kB / 0.5507 GB, free: 9.797 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.001142/0.3321, allocations: 0.6338 MB / 0.5513 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3322, allocations: 13.83 kB / 0.5513 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.3323, allocations: 75.97 kB / 0.5514 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005839/0.3329, allocations: 91.64 kB / 0.5515 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.3336, allocations: 347.8 kB / 0.5518 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3336, allocations: 27.47 kB / 0.5518 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3338, allocations: 50.88 kB / 0.5519 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3345, allocations: 466.6 kB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3345, allocations: 5.125 kB / 0.5523 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.3345, allocations: 11.34 kB / 0.5523 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.3346, allocations: 32.19 kB / 0.5524 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.3352, allocations: 336.9 kB / 0.5527 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.3374, allocations: 1.471 MB / 0.5541 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.3377, allocations: 139.3 kB / 0.5543 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3379, allocations: 99.45 kB / 0.5544 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3379, allocations: 6.266 kB / 0.5544 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.3379, allocations: 40.84 kB / 0.5544 GB, free: 6.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3379, allocations: 0 / 0.5544 GB, free: 6.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001424/0.3394, allocations: 0.7085 MB / 0.5551 GB, free: 6.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3394, allocations: 79.67 kB / 0.5552 GB, free: 6.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.3398, allocations: 308.2 kB / 0.5555 GB, free: 6.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.3398, allocations: 33.69 kB / 0.5555 GB, free: 6.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.34, allocations: 260.1 kB / 0.5557 GB, free: 5.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.3401, allocations: 63.47 kB / 0.5558 GB, free: 5.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3402, allocations: 61.94 kB / 0.5559 GB, free: 5.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.3404, allocations: 350.7 kB / 0.5562 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3406, allocations: 88.23 kB / 0.5563 GB, free: 5.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3409, allocations: 201.2 kB / 0.5565 GB, free: 5.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.3413, allocations: 310.7 kB / 0.5568 GB, free: 4.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3413, allocations: 4 kB / 0.5568 GB, free: 4.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009181/0.3422, allocations: 451.6 kB / 0.5572 GB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3422, allocations: 7.984 kB / 0.5572 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006527/0.3429, allocations: 288.1 kB / 0.5575 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004602/0.3434, allocations: 124.8 kB / 0.5576 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3436, allocations: 55.91 kB / 0.5577 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.3466, allocations: 2.258 MB / 0.5599 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3468, allocations: 15.94 kB / 0.5599 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3469, allocations: 8 kB / 0.5599 GB, free: 1.391 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.0002213/0.3471, allocations: 197.7 kB / 0.5601 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.3471, allocations: 31.75 kB / 0.5601 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.3476, allocations: 256.3 kB / 0.5603 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3476, allocations: 7.938 kB / 0.5604 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3476, allocations: 0 / 0.5604 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3476, allocations: 3.984 kB / 0.5604 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.3488, allocations: 0.6639 MB / 0.561 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3488, allocations: 0 / 0.561 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.349, allocations: 39.92 kB / 0.561 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.3491, allocations: 32.83 kB / 0.5611 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3492, allocations: 4 kB / 0.5611 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.3506, allocations: 1.492 MB / 0.5625 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3506, allocations: 4 kB / 0.5625 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.3511, allocations: 420.9 kB / 0.5629 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3512, allocations: 31.78 kB / 0.563 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.3513, allocations: 8 kB / 0.563 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.3514, allocations: 7.984 kB / 0.563 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3514, allocations: 12.14 kB / 0.563 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3515, allocations: 8 kB / 0.563 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.3517, allocations: 219 kB / 0.5632 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3517, allocations: 0 / 0.5632 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000476/0.3522, allocations: 91.94 kB / 0.5633 GB, free: 13.67 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.000944/0.3531, allocations: 0.9576 MB / 0.5642 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.3539, allocations: 390.4 kB / 0.5646 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3539, allocations: 0 / 0.5646 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.3542, allocations: 224.1 kB / 0.5648 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.3547, allocations: 69.2 kB / 0.5649 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.3595, allocations: 3.511 MB / 0.5683 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3598, allocations: 233.1 kB / 0.5685 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.36, allocations: 62.91 kB / 0.5686 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3602, allocations: 127.4 kB / 0.5687 GB, free: 7.832 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3602, allocations: 0 / 0.5687 GB, free: 7.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.403, allocations: 8.069 MB / 0.5766 GB, free: 15.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.25, allocations: 3.938 kB / 0.5766 GB, free: 15.93 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.05085578467697] Failed to read output from testmodel.py, exit status != 0: 13.367962156888098 13.383251307 13.049101976 Calling exit ...