Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001672/0.001672, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.476/1.476, allocations: 230.6 MB / 249.8 MB, free: 9.207 MB / 206.1 MB " [Timeout remaining time 178] 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.001677/0.001677, allocations: 209.2 kB / 306 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04186/0.04186, allocations: 8.898 MB / 371 MB, free: 3.438 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002435/0.002435, allocations: 90.22 kB / 495.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3654, allocations: 55.56 MB / 0.5384 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01314/0.3786, allocations: 13.85 MB / 0.5519 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009933/0.3885, allocations: 4.622 MB / 0.5564 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.3919, allocations: 112 kB / 0.5565 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.3954, allocations: 1.1 MB / 0.5576 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.4002, allocations: 1.294 MB / 0.5589 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.4026, allocations: 0.9134 MB / 0.5598 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004984/0.4076, allocations: 4.082 MB / 0.5638 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.4107, allocations: 2.484 MB / 0.5662 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003798/0.4145, allocations: 1.987 MB / 0.5681 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004951/0.4195, allocations: 2.278 MB / 0.5704 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.4213, allocations: 0.5278 MB / 0.5709 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.4244, allocations: 0.7506 MB / 0.5716 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.4261, allocations: 1.156 MB / 0.5727 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005373/0.4315, allocations: 2.178 MB / 0.5749 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.4422, allocations: 6.952 MB / 0.5816 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4422, allocations: 0 / 0.5816 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4422, allocations: 0 / 0.5816 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000239/0.4424, allocations: 0 / 0.5816 GB, free: 15.28 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01787/0.4603, allocations: 4.57 MB / 0.5861 GB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4603, allocations: 10.19 kB / 0.5861 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001514/0.4618, allocations: 0.5152 MB / 0.5866 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/0.4674, allocations: 0.82 MB / 0.5874 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006823/0.4742, allocations: 2.509 MB / 0.5899 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.4744, allocations: 258.8 kB / 0.5901 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008907/0.4753, allocations: 335.9 kB / 0.5904 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009825/0.4852, allocations: 4.515 MB / 0.5948 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.917e-05/0.4852, allocations: 8 kB / 0.5949 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003579/0.4856, allocations: 139.9 kB / 0.595 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.4858, allocations: 158.7 kB / 0.5951 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007777/0.4935, allocations: 3.813 MB / 0.5989 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02661/0.5201, allocations: 14.19 MB / 0.6127 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/0.5282, allocations: 6.325 MB / 0.6189 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/0.5308, allocations: 1.11 MB / 0.62 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/0.5379, allocations: 3.602 MB / 0.6235 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.538, allocations: 47.56 kB / 0.6235 GB, free: 5.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.376e-06/0.538, allocations: 0 / 0.6235 GB, free: 5.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01197/0.55, allocations: 5.271 MB / 0.6287 GB, free: 15.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.55, allocations: 68.41 kB / 0.6288 GB, free: 15.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.5529, allocations: 1.707 MB / 0.6304 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.553, allocations: 49.69 kB / 0.6305 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.5543, allocations: 1.543 MB / 0.632 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/0.5547, allocations: 440.3 kB / 0.6324 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004874/0.5552, allocations: 287.5 kB / 0.6327 GB, free: 11.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5553, allocations: 309.1 kB / 0.633 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.5564, allocations: 0.6285 MB / 0.6336 GB, free: 10.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.558, allocations: 1.135 MB / 0.6347 GB, free: 9.312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.5608, allocations: 1.872 MB / 0.6365 GB, free: 7.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.5608, allocations: 4 kB / 0.6365 GB, free: 7.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004199/0.565, allocations: 2.203 MB / 0.6387 GB, free: 4.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.5651, allocations: 12 kB / 0.6387 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.5651, allocations: 20.36 kB / 0.6387 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.5655, allocations: 134.5 kB / 0.6388 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.5671, allocations: 399.3 kB / 0.6392 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.5702, allocations: 3.373 MB / 0.6425 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.572, allocations: 75.92 kB / 0.6426 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.5721, allocations: 71.98 kB / 0.6426 GB, free: 0.6133 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002403/0.5745, allocations: 1.045 MB / 0.6437 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.5749, allocations: 190.8 kB / 0.6438 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.5789, allocations: 2.041 MB / 0.6458 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.5789, allocations: 15.94 kB / 0.6459 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.5789, allocations: 12 kB / 0.6459 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5789, allocations: 7.922 kB / 0.6459 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009007/0.5879, allocations: 4.779 MB / 0.6505 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.5879, allocations: 4 kB / 0.6505 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.5887, allocations: 159.8 kB / 0.6507 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.59, allocations: 444.6 kB / 0.6511 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.476e-05/0.5901, allocations: 35.98 kB / 0.6512 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.6022, allocations: 11.07 MB / 0.662 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.6022, allocations: 4.031 kB / 0.662 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.6081, allocations: 2.874 MB / 0.6648 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.6096, allocations: 399.8 kB / 0.6652 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.6099, allocations: 39.92 kB / 0.6652 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.6108, allocations: 59.95 kB / 0.6653 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.6111, allocations: 100.8 kB / 0.6654 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.6112, allocations: 35.98 kB / 0.6654 GB, free: 8.309 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002098/0.6133, allocations: 1.163 MB / 0.6665 GB, free: 7.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6133, allocations: 0 / 0.6665 GB, free: 7.152 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002972/0.6163, allocations: 0.5507 MB / 0.6671 GB, free: 6.602 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005627/0.6219, allocations: 3.478 MB / 0.6705 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.6253, allocations: 1.766 MB / 0.6722 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.6254, allocations: 4 kB / 0.6722 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.6279, allocations: 1.439 MB / 0.6736 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.6309, allocations: 0.5398 MB / 0.6741 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/0.6685, allocations: 19.01 MB / 0.6927 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/0.6711, allocations: 2.378 MB / 0.695 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001502/0.6726, allocations: 388.1 kB / 0.6954 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.6742, allocations: 1.148 MB / 0.6965 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.6742, allocations: 4 kB / 0.6965 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3923/1.067, allocations: 51.86 MB / 0.7471 GB, free: 123 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.38, allocations: 15.92 kB / 0.7472 GB, free: 123 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.36771355799283] Failed to read output from testmodel.py, exit status != 0: 14.488797305006301 14.498448881 14.053675335 Calling exit ...