Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001315/0.001315, allocations: 113.2 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.001435/0.001435, allocations: 212 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.444/1.444, 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.1897/0.1897, allocations: 38.52 MB / 352.4 MB, free: 12.54 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.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.002071/0.002071, allocations: 63.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 62.47 MB / 0.542 GB, free: 316 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006548/0.3384, allocations: 4.719 MB / 0.5466 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.3412, allocations: 1.613 MB / 0.5482 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.3414, allocations: 24.81 kB / 0.5482 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.3423, allocations: 305 kB / 0.5485 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.3429, allocations: 266.9 kB / 0.5488 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.3436, allocations: 267.8 kB / 0.549 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.3443, allocations: 0.6018 MB / 0.5496 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.3447, allocations: 225.7 kB / 0.5498 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.3451, allocations: 282.3 kB / 0.5501 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.3457, allocations: 351.5 kB / 0.5504 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.3457, allocations: 38.03 kB / 0.5505 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.3461, allocations: 162.2 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.3463, allocations: 233.1 kB / 0.5508 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.3466, allocations: 242.3 kB / 0.5511 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007443/0.3473, allocations: 0.6051 MB / 0.5516 GB, free: 9.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3473, allocations: 0 / 0.5516 GB, free: 9.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3473, allocations: 0 / 0.5516 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3473, allocations: 1.312 kB / 0.5517 GB, free: 9.051 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001478/0.3488, allocations: 0.7156 MB / 0.5523 GB, free: 8.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3488, allocations: 18.23 kB / 0.5524 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.3489, allocations: 87.77 kB / 0.5525 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.3497, allocations: 130.3 kB / 0.5526 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.3504, allocations: 352.5 kB / 0.5529 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3505, allocations: 32.61 kB / 0.5529 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.3506, allocations: 47.75 kB / 0.553 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3516, allocations: 0.6653 MB / 0.5536 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3517, allocations: 6.25 kB / 0.5536 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.3517, allocations: 20.45 kB / 0.5537 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.3519, allocations: 48.03 kB / 0.5537 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.3527, allocations: 492 kB / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.3564, allocations: 3.073 MB / 0.5572 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.3569, allocations: 229.3 kB / 0.5574 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.3571, allocations: 121.6 kB / 0.5575 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.3571, allocations: 11.92 kB / 0.5575 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3572, allocations: 46.5 kB / 0.5576 GB, free: 4.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.003e-06/0.3572, allocations: 0 / 0.5576 GB, free: 4.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001629/0.3588, allocations: 0.8177 MB / 0.5584 GB, free: 3.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3589, allocations: 81.11 kB / 0.5584 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.3592, allocations: 336.4 kB / 0.5588 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.3593, allocations: 33.7 kB / 0.5588 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3595, allocations: 299.9 kB / 0.5591 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.3596, allocations: 91.22 kB / 0.5592 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.3597, allocations: 90.08 kB / 0.5593 GB, free: 2.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3599, allocations: 346.7 kB / 0.5596 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.3601, allocations: 132.8 kB / 0.5597 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.3606, allocations: 321.2 kB / 0.56 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.3615, allocations: 0.4964 MB / 0.5605 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3615, allocations: 4 kB / 0.5605 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001438/0.3629, allocations: 0.5884 MB / 0.5611 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3629, allocations: 8 kB / 0.5611 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000703/0.3636, allocations: 325.8 kB / 0.5614 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.3641, allocations: 114.1 kB / 0.5615 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3644, allocations: 91.83 kB / 0.5616 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.3675, allocations: 3.079 MB / 0.5646 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.3678, allocations: 19.98 kB / 0.5646 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3678, allocations: 24 kB / 0.5646 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.3681, allocations: 213.6 kB / 0.5649 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.3682, allocations: 27.88 kB / 0.5649 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.3688, allocations: 321 kB / 0.5652 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3688, allocations: 4 kB / 0.5652 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3688, allocations: 7.922 kB / 0.5652 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3688, allocations: 0 / 0.5652 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3701, allocations: 0.7705 MB / 0.5659 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3701, allocations: 4.062 kB / 0.566 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.3704, allocations: 63.84 kB / 0.566 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.3704, allocations: 4 kB / 0.566 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3704, allocations: 11.98 kB / 0.566 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3704, allocations: 3.938 kB / 0.566 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3704, allocations: 4 kB / 0.566 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.3711, allocations: 0.506 MB / 0.5665 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3713, allocations: 59.66 kB / 0.5666 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.3713, allocations: 8 kB / 0.5666 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3715, allocations: 8 kB / 0.5666 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3715, allocations: 19.83 kB / 0.5666 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3715, allocations: 11.98 kB / 0.5666 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.3718, allocations: 219.1 kB / 0.5668 GB, free: 9.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3718, allocations: 4 kB / 0.5668 GB, free: 9.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.3723, allocations: 100 kB / 0.5669 GB, free: 9.871 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.3733, allocations: 1.051 MB / 0.568 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009773/0.3743, allocations: 0.565 MB / 0.5685 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3743, allocations: 4.062 kB / 0.5685 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.3745, allocations: 115.8 kB / 0.5686 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.375, allocations: 69.33 kB / 0.5687 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.3807, allocations: 4.078 MB / 0.5727 GB, free: 3.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.3812, allocations: 0.8699 MB / 0.5735 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.3815, allocations: 115.2 kB / 0.5736 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.3818, allocations: 147.4 kB / 0.5738 GB, free: 2.492 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3818, allocations: 0 / 0.5738 GB, free: 2.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05342/0.4352, allocations: 8.074 MB / 0.5817 GB, free: 10.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.43, allocations: 6.5 kB / 0.5817 GB, free: 10.55 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.23377694899682] Failed to read output from testmodel.py, exit status != 0: 12.543473083998833 12.566188208 12.21448993 Calling exit ...