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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 246.2 MB, free: 13.61 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 200.6 kB / 301.4 MB, free: 9.082 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04099/0.04099, allocations: 8.92 MB / 365.5 MB, free: 9.215 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 90.42 kB / 488.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1164, allocations: 54.4 MB / 0.5306 GB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01661/0.133, allocations: 13.28 MB / 0.5435 GB, free: 1.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009092/0.1421, allocations: 4.349 MB / 0.5478 GB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.1444, allocations: 87.62 kB / 0.5479 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.1477, allocations: 1.068 MB / 0.5489 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.1523, allocations: 1.332 MB / 0.5502 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.1551, allocations: 0.867 MB / 0.5511 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006607/0.1617, allocations: 4.031 MB / 0.555 GB, free: 6.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.1648, allocations: 1.968 MB / 0.5569 GB, free: 4.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.168, allocations: 1.947 MB / 0.5588 GB, free: 2.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/0.1721, allocations: 2.148 MB / 0.5609 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.1737, allocations: 0.5273 MB / 0.5614 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.177, allocations: 0.7263 MB / 0.5621 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.1795, allocations: 1.153 MB / 0.5633 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005769/0.1852, allocations: 2.171 MB / 0.5654 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.1996, allocations: 6.918 MB / 0.5721 GB, free: 4.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1996, allocations: 4 kB / 0.5721 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1996, allocations: 0 / 0.5721 GB, free: 4.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002249/0.1998, allocations: 0 / 0.5721 GB, free: 4.383 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.02113/0.2209, allocations: 4.535 MB / 0.5766 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.221, allocations: 12.03 kB / 0.5766 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002545/0.2235, allocations: 0.515 MB / 0.5771 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008182/0.2317, allocations: 0.8339 MB / 0.5779 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008295/0.24, allocations: 2.494 MB / 0.5803 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.2404, allocations: 247.1 kB / 0.5806 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.242, allocations: 343.9 kB / 0.5809 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.2578, allocations: 4.512 MB / 0.5853 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.2579, allocations: 7.984 kB / 0.5853 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000625/0.2586, allocations: 136 kB / 0.5854 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/0.2588, allocations: 154.7 kB / 0.5856 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.2711, allocations: 3.817 MB / 0.5893 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/0.3022, allocations: 14.06 MB / 0.6031 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007751/0.31, allocations: 6.027 MB / 0.6089 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.3125, allocations: 1.079 MB / 0.61 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007124/0.3197, allocations: 3.306 MB / 0.6132 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.3197, allocations: 47.56 kB / 0.6133 GB, free: 8.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.519e-06/0.3197, allocations: 0 / 0.6133 GB, free: 8.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01239/0.3321, allocations: 5.259 MB / 0.6184 GB, free: 3.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.3322, allocations: 64.41 kB / 0.6185 GB, free: 3.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.3359, allocations: 1.69 MB / 0.6201 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.3361, allocations: 49.7 kB / 0.6202 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.3377, allocations: 1.532 MB / 0.6217 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006642/0.3384, allocations: 440.3 kB / 0.6221 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007113/0.3391, allocations: 291.5 kB / 0.6224 GB, free: 15.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3393, allocations: 304.9 kB / 0.6226 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.3405, allocations: 0.6246 MB / 0.6233 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.3422, allocations: 1.135 MB / 0.6244 GB, free: 12.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.3453, allocations: 1.869 MB / 0.6262 GB, free: 10.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.3454, allocations: 8 kB / 0.6262 GB, free: 10.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004309/0.3497, allocations: 2.194 MB / 0.6283 GB, free: 8.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.3497, allocations: 12 kB / 0.6284 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.3497, allocations: 16 kB / 0.6284 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/0.3502, allocations: 130.9 kB / 0.6285 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.3517, allocations: 407.3 kB / 0.6289 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.355, allocations: 3.357 MB / 0.6322 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.3565, allocations: 76.08 kB / 0.6322 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.3567, allocations: 67.98 kB / 0.6323 GB, free: 4.254 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.002298/0.359, allocations: 1.048 MB / 0.6333 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/0.3595, allocations: 186.8 kB / 0.6335 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.364, allocations: 2.033 MB / 0.6355 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.364, allocations: 12 kB / 0.6355 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/0.364, allocations: 8 kB / 0.6355 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.364, allocations: 7.969 kB / 0.6355 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.3744, allocations: 4.763 MB / 0.6402 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.3744, allocations: 4 kB / 0.6402 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.3752, allocations: 159.8 kB / 0.6403 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.3765, allocations: 452 kB / 0.6407 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.3766, allocations: 32.05 kB / 0.6408 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3344/0.711, allocations: 11.07 MB / 0.6516 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.711, allocations: 2.219 kB / 0.6516 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.7172, allocations: 2.856 MB / 0.6544 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.7185, allocations: 405.3 kB / 0.6548 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.7187, allocations: 30.92 kB / 0.6548 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.7196, allocations: 60.14 kB / 0.6549 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/0.7199, allocations: 97.61 kB / 0.6549 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.72, allocations: 37.89 kB / 0.655 GB, free: 104.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002064/0.722, allocations: 1.156 MB / 0.6561 GB, free: 104.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.722, allocations: 2.938 kB / 0.6561 GB, free: 104.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00246/0.7245, allocations: 0.5424 MB / 0.6566 GB, free: 104.5 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,8,100.0%), (1,13,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.005371/0.7299, allocations: 3.468 MB / 0.66 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.7331, allocations: 1.783 MB / 0.6618 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.7331, allocations: 0 / 0.6618 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.7353, allocations: 1.439 MB / 0.6632 GB, free: 100.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.738, allocations: 0.5331 MB / 0.6637 GB, free: 100.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/0.7695, allocations: 19 MB / 0.6822 GB, free: 88.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.7714, allocations: 2.36 MB / 0.6846 GB, free: 86.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001341/0.7727, allocations: 392 kB / 0.6849 GB, free: 85.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.774, allocations: 1.148 MB / 0.686 GB, free: 84.67 MB / 462.1 MB Notification: Performance of SimCode: time 2.345e-06/0.774, allocations: 0 / 0.686 GB, free: 84.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/0.9045, allocations: 51.57 MB / 0.7364 GB, free: 33.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.16, allocations: 10.92 kB / 0.7364 GB, free: 33.51 MB / 462.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 os._exit(0), Time elapsed: 16.964684732985916] Failed to read output from testmodel.py, exit status != 0: 14.275457250972977 14.286093107 14.083772908 Calling exit ...