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.00179/0.00179, allocations: 115.6 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.002149/0.002149, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8 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.1865/0.1865, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.002033/0.002033, allocations: 59.91 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007688/0.3175, allocations: 5.566 MB / 0.5474 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.3244, allocations: 4.231 MB / 0.5516 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.3248, allocations: 27.16 kB / 0.5516 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.3369, allocations: 5.493 MB / 0.557 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.3379, allocations: 342.4 kB / 0.5573 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.3386, allocations: 251.5 kB / 0.5575 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.3411, allocations: 1.66 MB / 0.5591 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.3417, allocations: 324.4 kB / 0.5595 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.3422, allocations: 390.5 kB / 0.5598 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.3429, allocations: 486.2 kB / 0.5603 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.343, allocations: 48 kB / 0.5603 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.3433, allocations: 123.8 kB / 0.5605 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.3436, allocations: 287.2 kB / 0.5607 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.344, allocations: 322.3 kB / 0.561 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.345, allocations: 0.747 MB / 0.5618 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.345, allocations: 4 kB / 0.5618 GB, free: 236 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.345, allocations: 0 / 0.5618 GB, free: 236 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.345, allocations: 3.938 kB / 0.5618 GB, free: 232 kB / 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.001834/0.3468, allocations: 0.8531 MB / 0.5626 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.3469, allocations: 15.98 kB / 0.5626 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.347, allocations: 86.7 kB / 0.5627 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004634/0.3475, allocations: 96.47 kB / 0.5628 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3486, allocations: 0.4884 MB / 0.5633 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.3487, allocations: 36.98 kB / 0.5633 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3488, allocations: 48 kB / 0.5634 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3498, allocations: 0.6492 MB / 0.564 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3498, allocations: 0 / 0.564 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.3499, allocations: 16 kB / 0.564 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.3501, allocations: 56.95 kB / 0.5641 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/0.3509, allocations: 491.6 kB / 0.5645 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.3548, allocations: 2.451 MB / 0.5669 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.3553, allocations: 303.5 kB / 0.5672 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.3556, allocations: 162.5 kB / 0.5674 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.3556, allocations: 7.984 kB / 0.5674 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3556, allocations: 38.56 kB / 0.5674 GB, free: 10.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.3556, allocations: 0 / 0.5674 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002643/0.3583, allocations: 1.286 MB / 0.5687 GB, free: 8.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.3584, allocations: 110.8 kB / 0.5688 GB, free: 8.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.3588, allocations: 417.9 kB / 0.5692 GB, free: 8.301 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3589, allocations: 29.7 kB / 0.5692 GB, free: 8.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.3591, allocations: 312.2 kB / 0.5695 GB, free: 7.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3592, allocations: 130.9 kB / 0.5696 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3594, allocations: 90.14 kB / 0.5697 GB, free: 7.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3596, allocations: 362.7 kB / 0.57 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.3599, allocations: 168.9 kB / 0.5702 GB, free: 7.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3602, allocations: 297.1 kB / 0.5705 GB, free: 6.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.361, allocations: 495.7 kB / 0.571 GB, free: 6.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.361, allocations: 0 / 0.571 GB, free: 6.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001414/0.3624, allocations: 0.7125 MB / 0.5717 GB, free: 5.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3624, allocations: 11.28 kB / 0.5717 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3624, allocations: 8 kB / 0.5717 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/0.3631, allocations: 205.5 kB / 0.5719 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.3634, allocations: 71.89 kB / 0.5719 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/0.3686, allocations: 4.034 MB / 0.5759 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.3689, allocations: 19.98 kB / 0.5759 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.3689, allocations: 20 kB / 0.5759 GB, free: 0.9922 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.0003175/0.3693, allocations: 225.6 kB / 0.5761 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3694, allocations: 55.67 kB / 0.5762 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.3703, allocations: 491 kB / 0.5767 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3703, allocations: 4 kB / 0.5767 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3703, allocations: 4 kB / 0.5767 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3703, allocations: 3.984 kB / 0.5767 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3721, allocations: 1.024 MB / 0.5777 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3721, allocations: 0 / 0.5777 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.3726, allocations: 75.95 kB / 0.5777 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.3727, allocations: 49.67 kB / 0.5778 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.3728, allocations: 15.98 kB / 0.5778 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.375, allocations: 2.632 MB / 0.5804 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.375, allocations: 4.188 kB / 0.5804 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3762, allocations: 0.8141 MB / 0.5812 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.3764, allocations: 67.69 kB / 0.5812 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.3765, allocations: 8 kB / 0.5812 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3768, allocations: 11.98 kB / 0.5813 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.3768, allocations: 31.89 kB / 0.5813 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.3769, allocations: 12 kB / 0.5813 GB, free: 11.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.3772, allocations: 291.1 kB / 0.5816 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3772, allocations: 0 / 0.5816 GB, free: 10.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006588/0.3779, allocations: 132 kB / 0.5817 GB, free: 10.72 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.001563/0.3794, allocations: 1.36 MB / 0.583 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.3809, allocations: 0.7079 MB / 0.5837 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3809, allocations: 0 / 0.5837 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.3815, allocations: 418 kB / 0.5841 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.3822, allocations: 115.8 kB / 0.5842 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008238/0.3905, allocations: 5.415 MB / 0.5895 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.3911, allocations: 0.9405 MB / 0.5904 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.3914, allocations: 100.4 kB / 0.5905 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.3917, allocations: 199.4 kB / 0.5907 GB, free: 1.137 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3917, allocations: 0 / 0.5907 GB, free: 1.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.4431, allocations: 12.64 MB / 0.6031 GB, free: 4.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.25, allocations: 4.062 kB / 0.6031 GB, free: 4.656 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: 17.170384373996058] Failed to read output from testmodel.py, exit status != 0: 14.378256793999753 14.394981012 14.046537036 Calling exit ...