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.00128/0.00128, 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.396/1.396, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.001538/0.001538, allocations: 209.9 kB / 309.2 MB, free: 2.984 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.04147/0.04147, allocations: 8.928 MB / 374.6 MB, free: 1.75 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.002658/0.002658, allocations: 87.86 kB / 0.4892 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2549, allocations: 55.61 MB / 0.5435 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01008/0.2649, allocations: 12.05 MB / 0.5552 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00649/0.2714, allocations: 4.367 MB / 0.5595 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.273, allocations: 108.9 kB / 0.5596 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.275, allocations: 1.041 MB / 0.5606 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.2778, allocations: 1.291 MB / 0.5619 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.2796, allocations: 0.8866 MB / 0.5627 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003577/0.2831, allocations: 4.091 MB / 0.5667 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.2854, allocations: 1.888 MB / 0.5686 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.2878, allocations: 1.997 MB / 0.5705 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.2915, allocations: 2.143 MB / 0.5726 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.293, allocations: 0.5276 MB / 0.5731 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.2953, allocations: 0.7347 MB / 0.5739 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000956/0.2963, allocations: 1.157 MB / 0.575 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.299, allocations: 1.721 MB / 0.5767 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.3056, allocations: 6.972 MB / 0.5835 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3056, allocations: 0 / 0.5835 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3056, allocations: 3.938 kB / 0.5835 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.3058, allocations: 1.656 kB / 0.5835 GB, free: 2.047 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.01283/0.3186, allocations: 4.481 MB / 0.5879 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3186, allocations: 9.594 kB / 0.5879 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.3199, allocations: 0.5227 MB / 0.5884 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.3246, allocations: 0.8244 MB / 0.5892 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006062/0.3306, allocations: 2.427 MB / 0.5916 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.3309, allocations: 250.8 kB / 0.5918 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008002/0.3317, allocations: 331.9 kB / 0.5921 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00925/0.3409, allocations: 4.674 MB / 0.5967 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.402e-05/0.341, allocations: 4 kB / 0.5967 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.3413, allocations: 140 kB / 0.5968 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.3415, allocations: 158.7 kB / 0.597 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006973/0.3485, allocations: 3.805 MB / 0.6007 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02477/0.3733, allocations: 12.59 MB / 0.613 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004923/0.3782, allocations: 2.405 MB / 0.6153 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.3801, allocations: 1.103 MB / 0.6164 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006093/0.3862, allocations: 2.816 MB / 0.6192 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.3863, allocations: 47.56 kB / 0.6192 GB, free: 14.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.467e-06/0.3863, allocations: 0 / 0.6192 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01092/0.3972, allocations: 4.668 MB / 0.6238 GB, free: 10.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.3973, allocations: 64.41 kB / 0.6238 GB, free: 9.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.4001, allocations: 1.738 MB / 0.6255 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.4002, allocations: 45.7 kB / 0.6256 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.4015, allocations: 1.547 MB / 0.6271 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.402, allocations: 440.3 kB / 0.6275 GB, free: 6.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/0.4025, allocations: 291.5 kB / 0.6278 GB, free: 5.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4027, allocations: 305.1 kB / 0.6281 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4038, allocations: 0.6285 MB / 0.6287 GB, free: 4.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.4053, allocations: 1.156 MB / 0.6298 GB, free: 3.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.4081, allocations: 1.876 MB / 0.6316 GB, free: 1.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4081, allocations: 8 kB / 0.6316 GB, free: 1.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004034/0.4121, allocations: 2.123 MB / 0.6337 GB, free: 15.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.4122, allocations: 12.38 kB / 0.6337 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.4122, allocations: 20 kB / 0.6337 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.4126, allocations: 134.5 kB / 0.6339 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.4142, allocations: 395.3 kB / 0.6343 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.4174, allocations: 3.162 MB / 0.6373 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.4191, allocations: 76.08 kB / 0.6374 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.4193, allocations: 71.98 kB / 0.6375 GB, free: 11.24 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.002142/0.4214, allocations: 1.044 MB / 0.6385 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.4218, allocations: 190.8 kB / 0.6387 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.4256, allocations: 1.887 MB / 0.6405 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4256, allocations: 16.06 kB / 0.6405 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.4256, allocations: 12 kB / 0.6406 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4256, allocations: 3.984 kB / 0.6406 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008118/0.4337, allocations: 4.347 MB / 0.6448 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.4337, allocations: 0 / 0.6448 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.4345, allocations: 168 kB / 0.645 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4357, allocations: 450.6 kB / 0.6454 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/0.4358, allocations: 35.98 kB / 0.6454 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.4468, allocations: 10.44 MB / 0.6556 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.4468, allocations: 8.016 kB / 0.6556 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.452, allocations: 2.72 MB / 0.6583 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.4535, allocations: 334.6 kB / 0.6586 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.4539, allocations: 28 kB / 0.6586 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.4549, allocations: 56.08 kB / 0.6587 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.4552, allocations: 112.8 kB / 0.6588 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.4552, allocations: 39.98 kB / 0.6588 GB, free: 4.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.4572, allocations: 1.159 MB / 0.66 GB, free: 3.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4572, allocations: 0 / 0.66 GB, free: 3.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002927/0.4602, allocations: 0.5585 MB / 0.6605 GB, free: 2.906 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.005474/0.4656, allocations: 3.319 MB / 0.6637 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.4688, allocations: 1.697 MB / 0.6654 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4688, allocations: 2 kB / 0.6654 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.4711, allocations: 1.439 MB / 0.6668 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.4737, allocations: 0.5361 MB / 0.6673 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0331/0.5068, allocations: 18.89 MB / 0.6858 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.5091, allocations: 1.82 MB / 0.6876 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001363/0.5104, allocations: 392.1 kB / 0.6879 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.512, allocations: 1.151 MB / 0.6891 GB, free: 4.789 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.512, allocations: 3.938 kB / 0.6891 GB, free: 4.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3239/0.8359, allocations: 55.11 MB / 0.7429 GB, free: 101.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.92, allocations: 15.42 kB / 0.7429 GB, free: 101.1 MB / 494.1 MB " [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: 17.626721780747175] Failed to read output from testmodel.py, exit status != 0: 14.059095184784383 14.075484169 13.766518304 Calling exit ...