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.001317/0.001317, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001462/0.001462, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1867/0.1867, allocations: 38.55 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.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.002078/0.002078, allocations: 63.91 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2818, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006033/0.2878, allocations: 4.481 MB / 0.5463 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.2899, allocations: 1.257 MB / 0.5475 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.29, allocations: 24.47 kB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2912, allocations: 388.1 kB / 0.5479 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.2917, allocations: 248.9 kB / 0.5482 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.2921, allocations: 177 kB / 0.5483 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.2927, allocations: 0.5581 MB / 0.5489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.2931, allocations: 238.8 kB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.2935, allocations: 268.8 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.2939, allocations: 284.3 kB / 0.5496 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.294, allocations: 33.34 kB / 0.5497 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.2942, allocations: 127.4 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2944, allocations: 196 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.2946, allocations: 183.6 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.2952, allocations: 0.5183 MB / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2952, allocations: 0 / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2952, allocations: 0 / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.2952, allocations: 1.25 kB / 0.5507 GB, free: 9.801 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.001112/0.2964, allocations: 0.6378 MB / 0.5513 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2964, allocations: 13.8 kB / 0.5513 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.678e-05/0.2965, allocations: 76.41 kB / 0.5514 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005606/0.2971, allocations: 87.7 kB / 0.5515 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.2978, allocations: 353.2 kB / 0.5518 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2978, allocations: 22.56 kB / 0.5518 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2979, allocations: 46.89 kB / 0.5519 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.2986, allocations: 477.8 kB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2986, allocations: 1.156 kB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.2987, allocations: 15.53 kB / 0.5523 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.2988, allocations: 28.86 kB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.2993, allocations: 355 kB / 0.5527 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.3016, allocations: 1.483 MB / 0.5541 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3018, allocations: 140.2 kB / 0.5543 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.302, allocations: 116.7 kB / 0.5544 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.302, allocations: 2.188 kB / 0.5544 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3021, allocations: 33.03 kB / 0.5544 GB, free: 6.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3021, allocations: 1.094 kB / 0.5544 GB, free: 6.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001452/0.3035, allocations: 0.7432 MB / 0.5552 GB, free: 6.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.3036, allocations: 87.27 kB / 0.5552 GB, free: 6.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3039, allocations: 314.3 kB / 0.5555 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3039, allocations: 29.7 kB / 0.5556 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3041, allocations: 264 kB / 0.5558 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.3042, allocations: 63.47 kB / 0.5559 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.3043, allocations: 61.94 kB / 0.5559 GB, free: 5.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3044, allocations: 342.8 kB / 0.5563 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3046, allocations: 96.22 kB / 0.5564 GB, free: 5.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3048, allocations: 201.3 kB / 0.5565 GB, free: 4.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.3053, allocations: 334.2 kB / 0.5569 GB, free: 4.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3053, allocations: 4 kB / 0.5569 GB, free: 4.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009148/0.3062, allocations: 468 kB / 0.5573 GB, free: 4.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3062, allocations: 16 kB / 0.5573 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006485/0.3069, allocations: 304.7 kB / 0.5576 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.3073, allocations: 136.7 kB / 0.5578 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3075, allocations: 55.92 kB / 0.5578 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.3105, allocations: 2.312 MB / 0.5601 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3107, allocations: 19.98 kB / 0.5601 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3107, allocations: 8 kB / 0.5601 GB, free: 1.141 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.0002174/0.311, allocations: 196.5 kB / 0.5603 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.311, allocations: 39.67 kB / 0.5603 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.3115, allocations: 272.2 kB / 0.5606 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3115, allocations: 0 / 0.5606 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3115, allocations: 4 kB / 0.5606 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3115, allocations: 0 / 0.5606 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3127, allocations: 0.6835 MB / 0.5612 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3127, allocations: 64 / 0.5612 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.313, allocations: 43.91 kB / 0.5613 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3131, allocations: 40.83 kB / 0.5613 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3131, allocations: 0 / 0.5613 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3131, allocations: 4 kB / 0.5613 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3131, allocations: 0 / 0.5613 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.3137, allocations: 456.6 kB / 0.5618 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.3137, allocations: 27.81 kB / 0.5618 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.3138, allocations: 12.03 kB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3139, allocations: 4 kB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.314, allocations: 23.91 kB / 0.5618 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.314, allocations: 4 kB / 0.5618 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3142, allocations: 219 kB / 0.562 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3142, allocations: 0 / 0.562 GB, free: 15.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.3147, allocations: 88 kB / 0.5621 GB, free: 14.95 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.0009049/0.3156, allocations: 0.9693 MB / 0.5631 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007133/0.3163, allocations: 398.9 kB / 0.5635 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3163, allocations: 0 / 0.5635 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3165, allocations: 108.9 kB / 0.5636 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.317, allocations: 53.05 kB / 0.5636 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.3218, allocations: 3.58 MB / 0.5671 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3221, allocations: 245 kB / 0.5673 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.3223, allocations: 54.94 kB / 0.5674 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3225, allocations: 123.4 kB / 0.5675 GB, free: 9.172 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3225, allocations: 4 kB / 0.5675 GB, free: 9.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.3611, allocations: 7.916 MB / 0.5752 GB, free: 1.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.54, allocations: 15.56 kB / 0.5753 GB, free: 1.41 MB / 414.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource_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_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.3408841076307] Failed to read output from testmodel.py, exit status != 0: 13.661621247418225 13.677879615 13.378718937 Calling exit ...