Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.001617/0.001617, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.493/1.493, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.00163/0.00163, allocations: 213.2 kB / 309.2 MB, free: 3.141 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.04158/0.04158, allocations: 8.918 MB / 374.6 MB, free: 1.895 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_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",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.002532/0.002532, allocations: 87.84 kB / 0.4892 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3307, allocations: 55.59 MB / 0.5435 GB, free: 26.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01643/0.3471, allocations: 13.87 MB / 0.5571 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.3596, allocations: 4.633 MB / 0.5616 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.3639, allocations: 110.3 kB / 0.5617 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.3688, allocations: 1.099 MB / 0.5628 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006728/0.3755, allocations: 1.314 MB / 0.5641 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.379, allocations: 0.9288 MB / 0.565 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008548/0.3875, allocations: 4.089 MB / 0.569 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004673/0.3922, allocations: 1.968 MB / 0.5709 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/0.3976, allocations: 1.988 MB / 0.5728 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007092/0.4047, allocations: 2.286 MB / 0.575 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002581/0.4072, allocations: 0.5255 MB / 0.5756 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.4116, allocations: 0.7566 MB / 0.5763 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002638/0.4142, allocations: 1.152 MB / 0.5774 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00578/0.42, allocations: 2.183 MB / 0.5796 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.435, allocations: 6.954 MB / 0.5863 GB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.435, allocations: 0 / 0.5863 GB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.435, allocations: 1.062 kB / 0.5863 GB, free: 15.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000275/0.4353, allocations: 3.938 kB / 0.5864 GB, free: 15.09 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.02275/0.458, allocations: 4.487 MB / 0.5907 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.4581, allocations: 9.031 kB / 0.5907 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002492/0.4606, allocations: 0.5157 MB / 0.5912 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009275/0.4698, allocations: 0.8273 MB / 0.5921 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008592/0.4784, allocations: 2.446 MB / 0.5944 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.4787, allocations: 258.8 kB / 0.5947 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009855/0.4797, allocations: 328 kB / 0.595 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009723/0.4894, allocations: 4.519 MB / 0.5994 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.349e-05/0.4895, allocations: 0 / 0.5994 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003463/0.4898, allocations: 140 kB / 0.5995 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.49, allocations: 154.7 kB / 0.5997 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008318/0.4983, allocations: 3.817 MB / 0.6034 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03039/0.5287, allocations: 13.83 MB / 0.6169 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.5339, allocations: 2.407 MB / 0.6193 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.536, allocations: 1.1 MB / 0.6204 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006992/0.5429, allocations: 3.131 MB / 0.6234 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.543, allocations: 47.56 kB / 0.6235 GB, free: 10.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.537e-06/0.543, allocations: 0 / 0.6235 GB, free: 10.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01168/0.5547, allocations: 4.672 MB / 0.628 GB, free: 5.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5548, allocations: 68.41 kB / 0.6281 GB, free: 5.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.5576, allocations: 1.707 MB / 0.6298 GB, free: 4.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.5578, allocations: 45.7 kB / 0.6298 GB, free: 4.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.5591, allocations: 1.551 MB / 0.6313 GB, free: 2.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/0.5595, allocations: 436.2 kB / 0.6317 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004544/0.56, allocations: 295.5 kB / 0.632 GB, free: 1.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5601, allocations: 305.1 kB / 0.6323 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.5612, allocations: 0.6324 MB / 0.6329 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.5627, allocations: 1.123 MB / 0.634 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.5654, allocations: 1.88 MB / 0.6359 GB, free: 13.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5654, allocations: 4 kB / 0.6359 GB, free: 13.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003959/0.5694, allocations: 2.127 MB / 0.6379 GB, free: 11.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.5694, allocations: 19.98 kB / 0.638 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.5695, allocations: 23.98 kB / 0.638 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.5698, allocations: 126.5 kB / 0.6381 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.5714, allocations: 403.3 kB / 0.6385 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.5744, allocations: 3.162 MB / 0.6416 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.5759, allocations: 75.91 kB / 0.6416 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.576, allocations: 72 kB / 0.6417 GB, free: 7.152 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.002063/0.5781, allocations: 1.052 MB / 0.6427 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.5785, allocations: 194.8 kB / 0.6429 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.5822, allocations: 1.88 MB / 0.6448 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5823, allocations: 15.94 kB / 0.6448 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5823, allocations: 4 kB / 0.6448 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5823, allocations: 11.97 kB / 0.6448 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/0.5909, allocations: 4.608 MB / 0.6493 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5909, allocations: 4 kB / 0.6493 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007523/0.5916, allocations: 159.8 kB / 0.6494 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.5928, allocations: 448.1 kB / 0.6499 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.165e-05/0.5929, allocations: 35.98 kB / 0.6499 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/0.6045, allocations: 10.54 MB / 0.6602 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6045, allocations: 0 / 0.6602 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.61, allocations: 2.731 MB / 0.6629 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.6114, allocations: 330.8 kB / 0.6632 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.6117, allocations: 31.98 kB / 0.6632 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.6125, allocations: 67.89 kB / 0.6633 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.6128, allocations: 100.8 kB / 0.6634 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.6129, allocations: 35.98 kB / 0.6634 GB, free: 180 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002136/0.6151, allocations: 1.171 MB / 0.6645 GB, free: 15.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6151, allocations: 0 / 0.6645 GB, free: 15.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002517/0.6176, allocations: 0.5469 MB / 0.6651 GB, free: 14.46 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.005346/0.6229, allocations: 3.323 MB / 0.6683 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.6262, allocations: 1.705 MB / 0.67 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6262, allocations: 0 / 0.67 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.6286, allocations: 1.432 MB / 0.6714 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.6314, allocations: 0.5553 MB / 0.6719 GB, free: 7.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/0.6651, allocations: 18.88 MB / 0.6904 GB, free: 3.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.6677, allocations: 2.374 MB / 0.6927 GB, free: 1.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001466/0.6692, allocations: 396.1 kB / 0.6931 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.245/0.9141, allocations: 1.149 MB / 0.6942 GB, free: 121.7 MB / 494.1 MB Notification: Performance of SimCode: time 2.044e-06/0.9141, allocations: 0 / 0.6942 GB, free: 121.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.023, allocations: 53.13 MB / 0.7461 GB, free: 94.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.78, allocations: 14.44 kB / 0.7461 GB, free: 94.82 MB / 494.1 MB " [Timeout remaining time 644] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.18817060499714] Failed to read output from testmodel.py, exit status != 0: 15.916729315998964 15.931687734 15.492988147 Calling exit ...