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.001881/0.001881, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.464/1.464, allocations: 230.6 MB / 252.7 MB, free: 8.055 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.001573/0.001573, allocations: 210.2 kB / 309.2 MB, free: 2.941 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.04241/0.04241, allocations: 8.925 MB / 374.6 MB, free: 1.715 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.003877/0.003877, allocations: 87.86 kB / 0.4892 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2751, allocations: 55.59 MB / 0.5434 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01041/0.2855, allocations: 12.05 MB / 0.5552 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007579/0.293, allocations: 4.357 MB / 0.5595 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.2958, allocations: 109.9 kB / 0.5596 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002896/0.2987, allocations: 1.037 MB / 0.5606 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.3032, allocations: 1.302 MB / 0.5619 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.3055, allocations: 0.8833 MB / 0.5627 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005802/0.3113, allocations: 4.081 MB / 0.5667 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.315, allocations: 1.892 MB / 0.5685 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.319, allocations: 1.997 MB / 0.5705 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/0.3231, allocations: 2.15 MB / 0.5726 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.3244, allocations: 0.5231 MB / 0.5731 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3265, allocations: 0.7313 MB / 0.5738 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009682/0.3274, allocations: 1.16 MB / 0.575 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.3298, allocations: 1.722 MB / 0.5766 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007762/0.3375, allocations: 6.976 MB / 0.5834 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3375, allocations: 0 / 0.5834 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3375, allocations: 0 / 0.5834 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001671/0.3377, allocations: 0 / 0.5834 GB, free: 2.023 MB / 382.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.01168/0.3494, allocations: 4.477 MB / 0.5878 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3494, allocations: 13 kB / 0.5878 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000932/0.3503, allocations: 0.5146 MB / 0.5883 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/0.3548, allocations: 0.8268 MB / 0.5891 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005556/0.3604, allocations: 2.427 MB / 0.5915 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.3606, allocations: 254.8 kB / 0.5918 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000744/0.3614, allocations: 339.9 kB / 0.5921 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008466/0.3699, allocations: 4.662 MB / 0.5966 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.486e-05/0.3699, allocations: 4 kB / 0.5966 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.3703, allocations: 140 kB / 0.5968 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.3704, allocations: 162.7 kB / 0.5969 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007229/0.3777, allocations: 3.805 MB / 0.6006 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.401, allocations: 12.59 MB / 0.6129 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/0.4061, allocations: 2.396 MB / 0.6153 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.4081, allocations: 1.099 MB / 0.6164 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.4142, allocations: 2.824 MB / 0.6191 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.4143, allocations: 43.56 kB / 0.6192 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 2.836e-06/0.4143, allocations: 0 / 0.6192 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01024/0.4245, allocations: 4.672 MB / 0.6237 GB, free: 10.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4246, allocations: 64.41 kB / 0.6238 GB, free: 9.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.427, allocations: 1.73 MB / 0.6255 GB, free: 8.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.4271, allocations: 53.7 kB / 0.6255 GB, free: 8.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4283, allocations: 1.543 MB / 0.627 GB, free: 6.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.4287, allocations: 440.3 kB / 0.6274 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.4291, allocations: 291.4 kB / 0.6277 GB, free: 5.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4293, allocations: 309.1 kB / 0.628 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.4303, allocations: 0.6286 MB / 0.6286 GB, free: 4.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.4319, allocations: 1.16 MB / 0.6298 GB, free: 3.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.4345, allocations: 1.872 MB / 0.6316 GB, free: 1.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4345, allocations: 4 kB / 0.6316 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003585/0.4381, allocations: 2.123 MB / 0.6337 GB, free: 15.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4382, allocations: 12 kB / 0.6337 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.4382, allocations: 16 kB / 0.6337 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.4386, allocations: 142.9 kB / 0.6338 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.44, allocations: 391.3 kB / 0.6342 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.4429, allocations: 3.162 MB / 0.6373 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4442, allocations: 80.08 kB / 0.6374 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.4443, allocations: 75.98 kB / 0.6374 GB, free: 11.22 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.001925/0.4462, allocations: 1.036 MB / 0.6385 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.4465, allocations: 194.8 kB / 0.6386 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.4502, allocations: 1.883 MB / 0.6405 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.4502, allocations: 15.94 kB / 0.6405 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4503, allocations: 12 kB / 0.6405 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4503, allocations: 3.984 kB / 0.6405 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008043/0.4583, allocations: 4.355 MB / 0.6448 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.4583, allocations: 4.125 kB / 0.6448 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.4591, allocations: 163.8 kB / 0.6449 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.4602, allocations: 448 kB / 0.6453 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/0.4603, allocations: 35.98 kB / 0.6454 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.4713, allocations: 10.44 MB / 0.6556 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4713, allocations: 0 / 0.6556 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/0.4763, allocations: 2.72 MB / 0.6582 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.4773, allocations: 334.6 kB / 0.6586 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.4776, allocations: 28.23 kB / 0.6586 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.4784, allocations: 63.94 kB / 0.6586 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.4786, allocations: 104.7 kB / 0.6587 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.4787, allocations: 39.98 kB / 0.6588 GB, free: 4.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001787/0.4805, allocations: 1.167 MB / 0.6599 GB, free: 3.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4805, allocations: 4 kB / 0.6599 GB, free: 3.438 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001949/0.4825, allocations: 0.5507 MB / 0.6605 GB, free: 2.887 MB / 462.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.005062/0.4875, allocations: 3.327 MB / 0.6637 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.4905, allocations: 1.702 MB / 0.6654 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4905, allocations: 0 / 0.6654 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.4928, allocations: 1.44 MB / 0.6668 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.4954, allocations: 0.5354 MB / 0.6673 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.5274, allocations: 18.88 MB / 0.6857 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.5296, allocations: 1.812 MB / 0.6875 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001289/0.5309, allocations: 396.1 kB / 0.6879 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.5325, allocations: 1.155 MB / 0.689 GB, free: 4.766 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5325, allocations: 4 kB / 0.689 GB, free: 4.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3273/0.8597, allocations: 55.11 MB / 0.7428 GB, free: 101 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.9, allocations: 13.83 kB / 0.7428 GB, free: 101 MB / 494.1 MB " [Timeout remaining time 646] (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: 17.167432816233486] Failed to read output from testmodel.py, exit status != 0: 14.037552006077021 14.045873742 13.705941548 Calling exit ...