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.001814/0.001814, 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.001973/0.001973, allocations: 216.7 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.1854/0.1854, allocations: 38.55 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.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.002079/0.002079, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3264, allocations: 62.48 MB / 0.5419 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006074/0.3325, allocations: 4.454 MB / 0.5463 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3351, allocations: 1.488 MB / 0.5478 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3352, allocations: 24.5 kB / 0.5478 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.3361, allocations: 290.7 kB / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.3366, allocations: 266.1 kB / 0.5483 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.3373, allocations: 265.9 kB / 0.5486 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006595/0.3379, allocations: 0.6086 MB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.3383, allocations: 210.1 kB / 0.5494 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.3387, allocations: 288.8 kB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.3392, allocations: 336.7 kB / 0.55 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.3393, allocations: 37.97 kB / 0.55 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.3396, allocations: 145.7 kB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.3398, allocations: 232.4 kB / 0.5503 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.34, allocations: 198.5 kB / 0.5505 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.3408, allocations: 0.6138 MB / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3408, allocations: 1.062 kB / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3408, allocations: 0 / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3408, allocations: 0 / 0.5511 GB, free: 9.461 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.001354/0.3421, allocations: 0.7141 MB / 0.5518 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3422, allocations: 13.48 kB / 0.5518 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.3423, allocations: 84.36 kB / 0.5519 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/0.343, allocations: 126.6 kB / 0.552 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.3438, allocations: 353.4 kB / 0.5524 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.3438, allocations: 33.48 kB / 0.5524 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3439, allocations: 50.45 kB / 0.5525 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.3449, allocations: 0.6655 MB / 0.5531 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3449, allocations: 9.078 kB / 0.5531 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.345, allocations: 17.44 kB / 0.5531 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.3451, allocations: 47.78 kB / 0.5532 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.3459, allocations: 494 kB / 0.5537 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.3495, allocations: 2.986 MB / 0.5566 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.35, allocations: 229.3 kB / 0.5568 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.3502, allocations: 119.5 kB / 0.5569 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.3503, allocations: 4 kB / 0.5569 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3503, allocations: 34.56 kB / 0.5569 GB, free: 4.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.3503, allocations: 0 / 0.5569 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001543/0.3518, allocations: 0.8331 MB / 0.5578 GB, free: 3.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3519, allocations: 77.11 kB / 0.5578 GB, free: 3.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.3522, allocations: 344.3 kB / 0.5582 GB, free: 3.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3523, allocations: 33.64 kB / 0.5582 GB, free: 3.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.3525, allocations: 295.9 kB / 0.5585 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.3526, allocations: 95.2 kB / 0.5586 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3527, allocations: 90.08 kB / 0.5586 GB, free: 2.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3528, allocations: 346.7 kB / 0.559 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.3531, allocations: 132.9 kB / 0.5591 GB, free: 2.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.3534, allocations: 325.1 kB / 0.5594 GB, free: 1.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.3541, allocations: 0.4932 MB / 0.5599 GB, free: 1.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3541, allocations: 4 kB / 0.5599 GB, free: 1.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001134/0.3552, allocations: 0.5926 MB / 0.5605 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3552, allocations: 8 kB / 0.5605 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006433/0.3559, allocations: 325.8 kB / 0.5608 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.3563, allocations: 117.6 kB / 0.5609 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.3566, allocations: 95.81 kB / 0.561 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.3596, allocations: 3.055 MB / 0.564 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.3599, allocations: 19.98 kB / 0.564 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.3599, allocations: 24 kB / 0.564 GB, free: 12.76 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.0002565/0.3601, allocations: 209.6 kB / 0.5642 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.3602, allocations: 35.95 kB / 0.5643 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.3607, allocations: 321 kB / 0.5646 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3608, allocations: 7.984 kB / 0.5646 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3608, allocations: 3.938 kB / 0.5646 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3608, allocations: 7.984 kB / 0.5646 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3619, allocations: 0.7433 MB / 0.5653 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3619, allocations: 4 kB / 0.5653 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.3623, allocations: 63.83 kB / 0.5654 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3623, allocations: 4 kB / 0.5654 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3623, allocations: 8.062 kB / 0.5654 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3623, allocations: 4 kB / 0.5654 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3623, allocations: 0 / 0.5654 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.3629, allocations: 0.506 MB / 0.5659 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.3631, allocations: 59.66 kB / 0.5659 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3631, allocations: 8 kB / 0.566 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3633, allocations: 11.98 kB / 0.566 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3633, allocations: 19.83 kB / 0.566 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3633, allocations: 12 kB / 0.566 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3636, allocations: 223 kB / 0.5662 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3636, allocations: 4 kB / 0.5662 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000487/0.3641, allocations: 96 kB / 0.5663 GB, free: 10.33 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.0009671/0.365, allocations: 1.047 MB / 0.5673 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.366, allocations: 0.58 MB / 0.5679 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.366, allocations: 0 / 0.5679 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3661, allocations: 119.8 kB / 0.568 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.3666, allocations: 65.33 kB / 0.5681 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.3722, allocations: 4.077 MB / 0.572 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.3725, allocations: 273.6 kB / 0.5723 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.3728, allocations: 115.2 kB / 0.5724 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.373, allocations: 143.4 kB / 0.5726 GB, free: 3.555 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.373, allocations: 0 / 0.5726 GB, free: 3.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.4139, allocations: 8.374 MB / 0.5807 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.11, allocations: 3.562 kB / 0.5807 GB, free: 11.36 MB / 430.1 MB " [Timeout remaining time 648] (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.174148297868669] Failed to read output from testmodel.py, exit status != 0: 12.2272504651919 12.257477501 11.911228061 Calling exit ...