Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.001271/0.001271, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.549/1.549, allocations: 230.6 MB / 249.8 MB, free: 9.227 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.001993/0.001993, allocations: 217.9 kB / 306 MB, free: 4.324 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.04245/0.04245, allocations: 8.914 MB / 371 MB, free: 3.465 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.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",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.003787/0.003787, allocations: 87.86 kB / 495.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.396, allocations: 55.56 MB / 0.5384 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02415/0.4201, allocations: 27.16 MB / 0.5649 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.4396, allocations: 8.195 MB / 0.5729 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008269/0.4479, allocations: 236.1 kB / 0.5731 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02726/0.4752, allocations: 9.438 MB / 0.5823 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.4907, allocations: 3.378 MB / 0.5856 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007329/0.498, allocations: 1.834 MB / 0.5874 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02298/0.521, allocations: 12.24 MB / 0.5994 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0375/0.5585, allocations: 18.65 MB / 0.6176 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/0.5726, allocations: 6.589 MB / 0.624 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01604/0.5887, allocations: 7.293 MB / 0.6312 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007538/0.5962, allocations: 1.836 MB / 0.633 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.6065, allocations: 2.23 MB / 0.6351 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007962/0.6145, allocations: 3.616 MB / 0.6387 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01848/0.6329, allocations: 6.926 MB / 0.6454 GB, free: 204 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04217/0.6751, allocations: 24.81 MB / 0.6697 GB, free: 7.305 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.6751, allocations: 0 / 0.6697 GB, free: 7.305 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6751, allocations: 0 / 0.6697 GB, free: 7.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008023/0.6759, allocations: 0 / 0.6697 GB, free: 7.305 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0555/0.7314, allocations: 14.77 MB / 0.6841 GB, free: 8.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.7315, allocations: 8.031 kB / 0.6841 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007499/0.739, allocations: 1.788 MB / 0.6858 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5952/1.334, allocations: 8.429 MB / 0.6941 GB, free: 102.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0198/1.354, allocations: 7.691 MB / 0.7016 GB, free: 100 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001107/1.355, allocations: 0.809 MB / 0.7024 GB, free: 99.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006182/1.361, allocations: 1.06 MB / 0.7034 GB, free: 99.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06513/1.426, allocations: 18.34 MB / 0.7213 GB, free: 92.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001484/1.428, allocations: 22.2 kB / 0.7213 GB, free: 92.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006843/1.435, allocations: 449.7 kB / 0.7218 GB, free: 91.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/1.436, allocations: 0.6641 MB / 0.7224 GB, free: 91.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05133/1.488, allocations: 17.59 MB / 0.7396 GB, free: 84.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.596, allocations: 59.38 MB / 0.7976 GB, free: 25.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03086/1.627, allocations: 36.98 MB / 0.8337 GB, free: 276 kB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007936/1.635, allocations: 3.751 MB / 0.8374 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/1.636, allocations: 309.4 kB / 0.8377 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/1.636, allocations: 94.56 kB / 0.8377 GB, free: 12.08 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.823e-06/1.636, allocations: 0 / 0.8377 GB, free: 12.08 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.0592/1.695, allocations: 21.6 MB / 0.8588 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/1.695, allocations: 103.5 kB / 0.8589 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008795/1.704, allocations: 4.196 MB / 0.863 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.705, allocations: 113.7 kB / 0.8631 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004232/1.709, allocations: 4.679 MB / 0.8677 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003023/1.712, allocations: 1.864 MB / 0.8695 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003232/1.716, allocations: 1.367 MB / 0.8709 GB, free: 10.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.716, allocations: 301.1 kB / 0.8712 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006551/1.722, allocations: 3.449 MB / 0.8745 GB, free: 6.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/1.733, allocations: 5.889 MB / 0.8803 GB, free: 15.32 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/1.751, allocations: 10.04 MB / 0.8901 GB, free: 4.109 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.751, allocations: 20 kB / 0.8901 GB, free: 4.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02993/1.781, allocations: 10.96 MB / 0.9008 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.781, allocations: 40 kB / 0.9008 GB, free: 9.004 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/1.781, allocations: 80.31 kB / 0.9009 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004944/1.786, allocations: 1.437 MB / 0.9023 GB, free: 7.484 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/1.793, allocations: 1.618 MB / 0.9039 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.332/2.125, allocations: 11.48 MB / 0.9151 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/2.131, allocations: 404.5 kB / 0.9155 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/2.133, allocations: 338.4 kB / 0.9158 GB, free: 174.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009451/2.142, allocations: 4.168 MB / 0.9199 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/2.144, allocations: 0.4885 MB / 0.9204 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/2.159, allocations: 8.432 MB / 0.9286 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01522/2.175, allocations: 7.074 MB / 0.9355 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/2.175, allocations: 11.25 kB / 0.9355 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001344/2.175, allocations: 27.75 kB / 0.9355 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04753/2.222, allocations: 18.77 MB / 0.9539 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/2.222, allocations: 12.89 kB / 0.9539 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003781/2.226, allocations: 0.9411 MB / 0.9548 GB, free: 158.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/2.23, allocations: 1.288 MB / 0.9561 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007523/2.23, allocations: 117.4 kB / 0.9562 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/2.243, allocations: 10.18 MB / 0.9661 GB, free: 153 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.243, allocations: 1.5 kB / 0.9661 GB, free: 153 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/2.262, allocations: 12.29 MB / 0.9781 GB, free: 148 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00337/2.265, allocations: 1.186 MB / 0.9793 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/2.266, allocations: 89.67 kB / 0.9794 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/2.269, allocations: 271 kB / 0.9796 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008745/2.27, allocations: 360.5 kB / 0.98 GB, free: 147.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/2.27, allocations: 155.5 kB / 0.9801 GB, free: 147.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004111/2.275, allocations: 2.822 MB / 0.9829 GB, free: 144.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/2.275, allocations: 0 / 0.9829 GB, free: 144.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01051/2.285, allocations: 1.937 MB / 0.9848 GB, free: 142.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01883/2.304, allocations: 13.04 MB / 0.9975 GB, free: 130.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01273/2.317, allocations: 8.392 MB / 1.006 GB, free: 122.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.317, allocations: 4.5 kB / 1.006 GB, free: 122.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006917/2.324, allocations: 3.877 MB / 1.009 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006956/2.33, allocations: 1.137 MB / 1.011 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1134/2.444, allocations: 63.99 MB / 1.073 GB, free: 50.29 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008331/2.452, allocations: 7.005 MB / 1.08 GB, free: 43.24 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005904/2.458, allocations: 2.321 MB / 1.082 GB, free: 40.91 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006205/2.464, allocations: 3.869 MB / 1.086 GB, free: 37.04 MB / 0.5763 GB Notification: Performance of SimCode: time 1.973e-06/2.464, allocations: 0 / 1.086 GB, free: 37.04 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5488/3.013, allocations: 150.6 MB / 1.233 GB, free: 123.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.91/24.92, allocations: 8.047 kB / 1.233 GB, free: 123.4 MB / 0.5919 GB " [Timeout remaining time 635] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.998673087000498] Failed to read output from testmodel.py, exit status != 0: 25.086363993003033 25.106297181 24.426679975 Calling exit ...