Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001889/0.001889, 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.002096/0.002096, allocations: 210.3 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1898/0.1898, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",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: 71.83 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3232, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007118/0.3303, allocations: 5.195 MB / 0.547 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.3367, allocations: 3.824 MB / 0.5508 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.3372, allocations: 24.25 kB / 0.5508 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.348, allocations: 5.444 MB / 0.5561 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3491, allocations: 346.4 kB / 0.5564 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3499, allocations: 255.5 kB / 0.5567 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.3525, allocations: 1.641 MB / 0.5583 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.353, allocations: 328.3 kB / 0.5586 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.3536, allocations: 390.6 kB / 0.559 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.3544, allocations: 494.2 kB / 0.5594 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.428e-05/0.3544, allocations: 44 kB / 0.5595 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.3547, allocations: 115.8 kB / 0.5596 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.355, allocations: 287.2 kB / 0.5599 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.3553, allocations: 266.8 kB / 0.5601 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.3562, allocations: 0.7548 MB / 0.5608 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3562, allocations: 0 / 0.5608 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3562, allocations: 0 / 0.5608 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.3562, allocations: 4 kB / 0.5608 GB, free: 0.8906 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001677/0.3579, allocations: 0.855 MB / 0.5617 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.358, allocations: 12.41 kB / 0.5617 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.3581, allocations: 86.7 kB / 0.5618 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.3586, allocations: 92.48 kB / 0.5619 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3597, allocations: 0.4963 MB / 0.5623 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.3597, allocations: 33 kB / 0.5624 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.73e-05/0.3598, allocations: 47.98 kB / 0.5624 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.3608, allocations: 0.6453 MB / 0.5631 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3608, allocations: 7.875 kB / 0.5631 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.3608, allocations: 20 kB / 0.5631 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.361, allocations: 48.95 kB / 0.5631 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/0.3618, allocations: 495.6 kB / 0.5636 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.3654, allocations: 2.342 MB / 0.5659 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.3659, allocations: 287.6 kB / 0.5662 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3662, allocations: 166.6 kB / 0.5663 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.3662, allocations: 7.938 kB / 0.5663 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.3663, allocations: 46.53 kB / 0.5664 GB, free: 10.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.3663, allocations: 3.938 kB / 0.5664 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002486/0.3687, allocations: 1.274 MB / 0.5676 GB, free: 9.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3688, allocations: 114.7 kB / 0.5677 GB, free: 9.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.3693, allocations: 434.1 kB / 0.5681 GB, free: 9.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.3694, allocations: 33.7 kB / 0.5682 GB, free: 9.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.3696, allocations: 312.2 kB / 0.5685 GB, free: 8.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3697, allocations: 123 kB / 0.5686 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3699, allocations: 94.12 kB / 0.5687 GB, free: 8.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3701, allocations: 362.7 kB / 0.569 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.3704, allocations: 160.9 kB / 0.5692 GB, free: 7.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.3707, allocations: 297.2 kB / 0.5695 GB, free: 7.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.3714, allocations: 491.7 kB / 0.5699 GB, free: 7.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3714, allocations: 0 / 0.5699 GB, free: 7.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001365/0.3728, allocations: 0.7166 MB / 0.5706 GB, free: 6.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3728, allocations: 10.97 kB / 0.5706 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3728, allocations: 4 kB / 0.5706 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/0.3735, allocations: 201.8 kB / 0.5708 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.3738, allocations: 83.81 kB / 0.5709 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.3789, allocations: 4.006 MB / 0.5748 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.3792, allocations: 16 kB / 0.5748 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.3792, allocations: 23.98 kB / 0.5749 GB, free: 1.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003349/0.3796, allocations: 229.7 kB / 0.5751 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3797, allocations: 47.7 kB / 0.5751 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/0.3807, allocations: 0.4912 MB / 0.5756 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3807, allocations: 4 kB / 0.5756 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3807, allocations: 4 kB / 0.5756 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3807, allocations: 0 / 0.5756 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.3824, allocations: 0.9848 MB / 0.5766 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3824, allocations: 0 / 0.5766 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.3829, allocations: 71.89 kB / 0.5767 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.3831, allocations: 61.67 kB / 0.5767 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.3831, allocations: 11.98 kB / 0.5767 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3853, allocations: 2.628 MB / 0.5793 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3853, allocations: 0 / 0.5793 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3864, allocations: 0.8108 MB / 0.5801 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.3866, allocations: 67.64 kB / 0.5801 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.3867, allocations: 8 kB / 0.5802 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3869, allocations: 19.98 kB / 0.5802 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.387, allocations: 28.05 kB / 0.5802 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.387, allocations: 8 kB / 0.5802 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.3874, allocations: 291.1 kB / 0.5805 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3874, allocations: 0 / 0.5805 GB, free: 11.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005954/0.388, allocations: 143.9 kB / 0.5806 GB, free: 11.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.3895, allocations: 1.363 MB / 0.582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.391, allocations: 0.7045 MB / 0.5826 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.391, allocations: 0 / 0.5826 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.3915, allocations: 409.1 kB / 0.583 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.3923, allocations: 114.3 kB / 0.5831 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008406/0.4007, allocations: 5.419 MB / 0.5884 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.4011, allocations: 336.8 kB / 0.5888 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.4015, allocations: 108.4 kB / 0.5889 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.4018, allocations: 199.4 kB / 0.589 GB, free: 2.574 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4018, allocations: 0 / 0.589 GB, free: 2.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04972/0.4515, allocations: 13.04 MB / 0.6018 GB, free: 5.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.84, allocations: 10.81 kB / 0.6018 GB, free: 5.738 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_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_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.73592640500283] Failed to read output from testmodel.py, exit status != 0: 13.965915842039976 13.982257396 13.622721299 Calling exit ...