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.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001419/0.001419, allocations: 201.9 kB / 23.73 MB, free: 4.379 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1861/0.1861, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.002027/0.002027, allocations: 74.39 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2912, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006159/0.2974, allocations: 4.458 MB / 0.5463 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.3003, allocations: 1.497 MB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.3006, allocations: 24.78 kB / 0.5478 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.3015, allocations: 278.7 kB / 0.548 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007221/0.3023, allocations: 270.5 kB / 0.5483 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.3031, allocations: 265.9 kB / 0.5486 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.304, allocations: 0.6123 MB / 0.5492 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.3044, allocations: 217.1 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.3049, allocations: 282.2 kB / 0.5496 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.3055, allocations: 355.2 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.3055, allocations: 34.88 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.3059, allocations: 154.3 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.3061, allocations: 224.1 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.3064, allocations: 202.1 kB / 0.5506 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.3072, allocations: 0.6101 MB / 0.5511 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3072, allocations: 1.344 kB / 0.5512 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3072, allocations: 3.938 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3072, allocations: 0 / 0.5512 GB, free: 9.48 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.001563/0.3088, allocations: 0.715 MB / 0.5519 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3089, allocations: 12.36 kB / 0.5519 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.309, allocations: 84.11 kB / 0.5519 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007306/0.3097, allocations: 123.2 kB / 0.5521 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007671/0.3105, allocations: 356 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.3105, allocations: 29.95 kB / 0.5524 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.3107, allocations: 50.62 kB / 0.5525 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3117, allocations: 0.6694 MB / 0.5531 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3117, allocations: 10.7 kB / 0.5531 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.3118, allocations: 16.36 kB / 0.5532 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3119, allocations: 55.23 kB / 0.5532 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.3127, allocations: 490 kB / 0.5537 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.3162, allocations: 2.976 MB / 0.5566 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.3167, allocations: 225.3 kB / 0.5568 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3169, allocations: 125.5 kB / 0.5569 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.3169, allocations: 7.938 kB / 0.5569 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.317, allocations: 38.56 kB / 0.557 GB, free: 4.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.317, allocations: 4 kB / 0.557 GB, free: 4.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001632/0.3186, allocations: 0.8203 MB / 0.5578 GB, free: 3.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.3187, allocations: 89.03 kB / 0.5579 GB, free: 3.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.3191, allocations: 344.3 kB / 0.5582 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3191, allocations: 33.69 kB / 0.5582 GB, free: 3.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3193, allocations: 295.9 kB / 0.5585 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.3194, allocations: 99.19 kB / 0.5586 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3195, allocations: 86.08 kB / 0.5587 GB, free: 2.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3197, allocations: 346.9 kB / 0.559 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3199, allocations: 136.8 kB / 0.5591 GB, free: 2.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3203, allocations: 321.1 kB / 0.5594 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.3209, allocations: 0.4932 MB / 0.5599 GB, free: 1.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3209, allocations: 4 kB / 0.5599 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001097/0.322, allocations: 0.5848 MB / 0.5605 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3221, allocations: 8.125 kB / 0.5605 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006142/0.3227, allocations: 329.8 kB / 0.5608 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.3231, allocations: 121.5 kB / 0.5609 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.3234, allocations: 83.89 kB / 0.561 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.3265, allocations: 3.067 MB / 0.564 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.3268, allocations: 15.98 kB / 0.564 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3269, allocations: 24 kB / 0.564 GB, free: 12.79 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.0002948/0.3271, allocations: 213.6 kB / 0.5643 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3272, allocations: 35.77 kB / 0.5643 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.3278, allocations: 317.1 kB / 0.5646 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3278, allocations: 4 kB / 0.5646 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3278, allocations: 7.922 kB / 0.5646 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3278, allocations: 0 / 0.5646 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.329, allocations: 0.745 MB / 0.5653 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.329, allocations: 0 / 0.5653 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.3294, allocations: 67.84 kB / 0.5654 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3294, allocations: 4.062 kB / 0.5654 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.3294, allocations: 15.94 kB / 0.5654 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3294, allocations: 4 kB / 0.5654 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3294, allocations: 0 / 0.5654 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.33, allocations: 0.5021 MB / 0.5659 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.3302, allocations: 63.66 kB / 0.566 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3302, allocations: 8 kB / 0.566 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3304, allocations: 7.984 kB / 0.566 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3304, allocations: 23.83 kB / 0.566 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3304, allocations: 4 kB / 0.566 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3307, allocations: 231 kB / 0.5662 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3307, allocations: 4 kB / 0.5662 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005011/0.3312, allocations: 96 kB / 0.5663 GB, free: 10.36 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.001011/0.3322, allocations: 1.057 MB / 0.5674 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009845/0.3332, allocations: 0.5606 MB / 0.5679 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3332, allocations: 0 / 0.5679 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3334, allocations: 123.8 kB / 0.568 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.3339, allocations: 64.89 kB / 0.5681 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.3397, allocations: 4.082 MB / 0.5721 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.34, allocations: 265.7 kB / 0.5723 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.3404, allocations: 111.2 kB / 0.5724 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.3406, allocations: 147.4 kB / 0.5726 GB, free: 3.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3406, allocations: 0 / 0.5726 GB, free: 3.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.3812, allocations: 8.538 MB / 0.5809 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.02, allocations: 15.25 kB / 0.5809 GB, free: 11.21 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: 14.800440018996596] Failed to read output from testmodel.py, exit status != 0: 12.136821666965261 12.15644958 11.845826988 Calling exit ...