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.001327/0.001327, 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.477/1.477, allocations: 230.6 MB / 252.6 MB, free: 8.289 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.001672/0.001672, allocations: 221.3 kB / 309.2 MB, free: 3.133 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.04111/0.04111, allocations: 8.913 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_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.002421/0.002421, allocations: 85.64 kB / 0.4892 GB, free: 4.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1203, allocations: 55.63 MB / 0.5436 GB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0171/0.1374, allocations: 13.88 MB / 0.5571 GB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1478, allocations: 4.633 MB / 0.5616 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.1507, allocations: 111.3 kB / 0.5617 GB, free: 2.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.1542, allocations: 1.095 MB / 0.5628 GB, free: 1.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.1593, allocations: 1.32 MB / 0.5641 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.1619, allocations: 0.9269 MB / 0.565 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.168, allocations: 4.078 MB / 0.569 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.1713, allocations: 1.973 MB / 0.5709 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.1749, allocations: 1.994 MB / 0.5729 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/0.1791, allocations: 2.281 MB / 0.5751 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.1801, allocations: 0.5234 MB / 0.5756 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.182, allocations: 0.7497 MB / 0.5763 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.1832, allocations: 1.161 MB / 0.5775 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.1862, allocations: 2.186 MB / 0.5796 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009998/0.1962, allocations: 6.949 MB / 0.5864 GB, free: 8.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1962, allocations: 0 / 0.5864 GB, free: 8.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1962, allocations: 4 kB / 0.5864 GB, free: 8.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003037/0.1965, allocations: 0 / 0.5864 GB, free: 8.895 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.01468/0.2112, allocations: 4.487 MB / 0.5908 GB, free: 4.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.2112, allocations: 8.031 kB / 0.5908 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009566/0.2122, allocations: 0.5189 MB / 0.5913 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.2165, allocations: 0.8261 MB / 0.5921 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.2223, allocations: 2.446 MB / 0.5945 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.2225, allocations: 254.8 kB / 0.5947 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009732/0.2235, allocations: 332 kB / 0.595 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009847/0.2334, allocations: 4.519 MB / 0.5995 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/0.2334, allocations: 0 / 0.5995 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/0.2338, allocations: 132 kB / 0.5996 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.234, allocations: 162.7 kB / 0.5997 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008682/0.2427, allocations: 3.821 MB / 0.6035 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02909/0.2718, allocations: 13.82 MB / 0.617 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/0.2771, allocations: 2.422 MB / 0.6193 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.2794, allocations: 1.1 MB / 0.6204 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006649/0.2861, allocations: 3.128 MB / 0.6235 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.2861, allocations: 55.5 kB / 0.6235 GB, free: 2.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.717e-06/0.2861, allocations: 0 / 0.6235 GB, free: 2.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01137/0.2975, allocations: 4.672 MB / 0.6281 GB, free: 13.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.2975, allocations: 64.41 kB / 0.6281 GB, free: 13.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.3004, allocations: 1.711 MB / 0.6298 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.3006, allocations: 45.7 kB / 0.6299 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.3019, allocations: 1.54 MB / 0.6314 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00057/0.3025, allocations: 440.3 kB / 0.6318 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004968/0.303, allocations: 295.5 kB / 0.6321 GB, free: 9.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3032, allocations: 309.1 kB / 0.6324 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.3044, allocations: 0.6246 MB / 0.633 GB, free: 8.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.306, allocations: 1.131 MB / 0.6341 GB, free: 7.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.3088, allocations: 1.873 MB / 0.6359 GB, free: 5.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.3088, allocations: 4 kB / 0.6359 GB, free: 5.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00407/0.3129, allocations: 2.135 MB / 0.638 GB, free: 3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.3129, allocations: 8 kB / 0.638 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.3129, allocations: 16 kB / 0.638 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.3133, allocations: 138.4 kB / 0.6381 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.3149, allocations: 395.7 kB / 0.6385 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.318, allocations: 3.173 MB / 0.6416 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.3195, allocations: 84 kB / 0.6417 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.3196, allocations: 72 kB / 0.6418 GB, free: 14.89 MB / 462.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.002306/0.3219, allocations: 1.032 MB / 0.6428 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.3225, allocations: 198.8 kB / 0.643 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.3269, allocations: 1.88 MB / 0.6448 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.327, allocations: 15.94 kB / 0.6448 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/0.327, allocations: 4 kB / 0.6448 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.327, allocations: 7.969 kB / 0.6448 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.3376, allocations: 4.616 MB / 0.6493 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.3376, allocations: 4 kB / 0.6493 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.3384, allocations: 160 kB / 0.6495 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.3398, allocations: 447.8 kB / 0.6499 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.3399, allocations: 39.97 kB / 0.65 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2467/0.5867, allocations: 10.54 MB / 0.6602 GB, free: 95.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5867, allocations: 2.734 kB / 0.6602 GB, free: 95.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/0.5914, allocations: 2.722 MB / 0.6629 GB, free: 94.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009972/0.5924, allocations: 332.5 kB / 0.6632 GB, free: 94.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.5927, allocations: 31.41 kB / 0.6632 GB, free: 94.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.5935, allocations: 55.14 kB / 0.6633 GB, free: 94.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.5938, allocations: 108.6 kB / 0.6634 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-05/0.5939, allocations: 36.5 kB / 0.6634 GB, free: 94.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.596, allocations: 1.168 MB / 0.6646 GB, free: 94.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.596, allocations: 0 / 0.6646 GB, free: 94.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002196/0.5982, allocations: 0.5459 MB / 0.6651 GB, free: 94.17 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.005113/0.6033, allocations: 3.33 MB / 0.6684 GB, free: 92.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.6061, allocations: 1.698 MB / 0.67 GB, free: 91.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6061, allocations: 6.5 kB / 0.67 GB, free: 91.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00206/0.6082, allocations: 1.438 MB / 0.6714 GB, free: 90.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.6106, allocations: 0.5463 MB / 0.672 GB, free: 90.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/0.6362, allocations: 18.89 MB / 0.6904 GB, free: 79.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.6379, allocations: 2.373 MB / 0.6927 GB, free: 77.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.6391, allocations: 392.1 kB / 0.6931 GB, free: 76.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6402, allocations: 1.151 MB / 0.6942 GB, free: 75.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6402, allocations: 0 / 0.6942 GB, free: 75.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/0.7403, allocations: 53.13 MB / 0.7461 GB, free: 22.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.57, allocations: 6.062 kB / 0.7461 GB, free: 22.8 MB / 462.1 MB " [Timeout remaining time 644] (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: 19.558146956005658] Failed to read output from testmodel.py, exit status != 0: 15.71622596999805 15.735469037 15.53533108 Calling exit ...