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.001761/0.001761, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.00235/0.00235, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.205/0.205, allocations: 38.52 MB / 352.4 MB, free: 12.56 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.002827/0.002827, allocations: 71.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3324, allocations: 62.46 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006593/0.339, allocations: 4.746 MB / 0.5466 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.3414, allocations: 1.358 MB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.3416, allocations: 20.53 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3428, allocations: 414.1 kB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000618/0.3434, allocations: 253.5 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.3439, allocations: 179.8 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006826/0.3446, allocations: 0.5603 MB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.345, allocations: 229.6 kB / 0.5496 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.3455, allocations: 269.4 kB / 0.5498 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.346, allocations: 295.2 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.3461, allocations: 29.81 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.3464, allocations: 147.9 kB / 0.5503 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.3466, allocations: 192.5 kB / 0.5504 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.3468, allocations: 220.6 kB / 0.5507 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.3474, allocations: 0.521 MB / 0.5512 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3475, allocations: 0 / 0.5512 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3475, allocations: 0 / 0.5512 GB, free: 9.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3475, allocations: 0 / 0.5512 GB, free: 9.508 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.001191/0.3487, allocations: 0.634 MB / 0.5518 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3487, allocations: 13.73 kB / 0.5518 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.583e-05/0.3488, allocations: 76.95 kB / 0.5519 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.3494, allocations: 91.73 kB / 0.552 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.3501, allocations: 344.1 kB / 0.5523 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.3501, allocations: 30.64 kB / 0.5523 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3502, allocations: 52.56 kB / 0.5524 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.351, allocations: 474.7 kB / 0.5528 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.351, allocations: 1.25 kB / 0.5528 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.351, allocations: 15.75 kB / 0.5528 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.3511, allocations: 24.33 kB / 0.5529 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.3518, allocations: 357.2 kB / 0.5532 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.3542, allocations: 1.666 MB / 0.5548 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.3544, allocations: 143.4 kB / 0.555 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.3546, allocations: 105.2 kB / 0.5551 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3546, allocations: 6.406 kB / 0.5551 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3547, allocations: 39.94 kB / 0.5551 GB, free: 6.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3547, allocations: 0 / 0.5551 GB, free: 6.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001563/0.3562, allocations: 0.7394 MB / 0.5558 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3563, allocations: 83.45 kB / 0.5559 GB, free: 5.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.3566, allocations: 311.4 kB / 0.5562 GB, free: 5.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3567, allocations: 26.67 kB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3568, allocations: 264.3 kB / 0.5565 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.3569, allocations: 71.41 kB / 0.5565 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.357, allocations: 57.98 kB / 0.5566 GB, free: 5.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3572, allocations: 346.7 kB / 0.5569 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3573, allocations: 96.22 kB / 0.557 GB, free: 4.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3576, allocations: 201.3 kB / 0.5572 GB, free: 4.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.358, allocations: 331.4 kB / 0.5575 GB, free: 4.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.358, allocations: 0 / 0.5575 GB, free: 4.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001021/0.359, allocations: 465.6 kB / 0.558 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.359, allocations: 8 kB / 0.558 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006412/0.3597, allocations: 316.1 kB / 0.5583 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.3602, allocations: 136.7 kB / 0.5584 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.3604, allocations: 51.91 kB / 0.5585 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.3643, allocations: 2.346 MB / 0.5608 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.3648, allocations: 12 kB / 0.5608 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3648, allocations: 12 kB / 0.5608 GB, free: 0.7148 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.0003764/0.3652, allocations: 193.7 kB / 0.561 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.3653, allocations: 31.8 kB / 0.561 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/0.366, allocations: 272.5 kB / 0.5613 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.366, allocations: 3.984 kB / 0.5613 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.366, allocations: 0 / 0.5613 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.366, allocations: 4 kB / 0.5613 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.368, allocations: 0.7029 MB / 0.562 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.368, allocations: 0 / 0.562 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.3683, allocations: 35.98 kB / 0.562 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.3685, allocations: 40.77 kB / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.3686, allocations: 11.98 kB / 0.562 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3686, allocations: 0 / 0.562 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.3686, allocations: 4 kB / 0.562 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009202/0.3695, allocations: 434.6 kB / 0.5625 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3696, allocations: 31.84 kB / 0.5625 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.3697, allocations: 4.062 kB / 0.5625 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3699, allocations: 15.98 kB / 0.5625 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.37, allocations: 15.92 kB / 0.5625 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.37, allocations: 8 kB / 0.5625 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.3704, allocations: 223 kB / 0.5627 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3704, allocations: 0 / 0.5627 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006936/0.3711, allocations: 84 kB / 0.5628 GB, free: 14.52 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.001179/0.3723, allocations: 0.9771 MB / 0.5638 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3733, allocations: 406.5 kB / 0.5642 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3734, allocations: 0 / 0.5642 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.3736, allocations: 104.7 kB / 0.5643 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.3743, allocations: 64.31 kB / 0.5643 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.3813, allocations: 3.57 MB / 0.5678 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.3821, allocations: 0.838 MB / 0.5686 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3823, allocations: 70.84 kB / 0.5687 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.3825, allocations: 127.4 kB / 0.5688 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3825, allocations: 0 / 0.5688 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.4299, allocations: 7.643 MB / 0.5763 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.41, allocations: 7.938 kB / 0.5763 GB, free: 0.5898 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.424081179000495] Failed to read output from testmodel.py, exit status != 0: 14.557109743996989 14.585644611 14.232052271 Calling exit ...