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.001817/0.001817, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.473/1.473, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001642/0.001642, allocations: 220.7 kB / 309.2 MB, free: 3.18 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.04128/0.04128, allocations: 8.907 MB / 374.6 MB, free: 1.938 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.002491/0.002491, allocations: 83.88 kB / 0.4892 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3397, allocations: 55.6 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02196/0.3617, allocations: 27.21 MB / 0.5701 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01721/0.3789, allocations: 8.214 MB / 0.5781 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007002/0.3859, allocations: 236.9 kB / 0.5783 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02511/0.411, allocations: 9.474 MB / 0.5876 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.4272, allocations: 3.459 MB / 0.591 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008276/0.4355, allocations: 1.868 MB / 0.5928 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01932/0.4548, allocations: 12.38 MB / 0.6049 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03263/0.4875, allocations: 16.03 MB / 0.6205 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/0.5007, allocations: 6.636 MB / 0.627 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01724/0.518, allocations: 7.308 MB / 0.6342 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006711/0.5247, allocations: 1.844 MB / 0.636 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008677/0.5334, allocations: 2.238 MB / 0.6381 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00779/0.5411, allocations: 3.62 MB / 0.6417 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01531/0.5565, allocations: 6.923 MB / 0.6484 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03357/0.59, allocations: 24.81 MB / 0.6727 GB, free: 8.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.59, allocations: 7.938 kB / 0.6727 GB, free: 8.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.59, allocations: 0 / 0.6727 GB, free: 8.418 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006414/0.5907, allocations: 0 / 0.6727 GB, free: 8.418 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.04596/0.6366, allocations: 14.7 MB / 0.687 GB, free: 9.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6367, allocations: 8.031 kB / 0.687 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006705/0.6434, allocations: 1.792 MB / 0.6888 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5103/1.154, allocations: 8.427 MB / 0.697 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/1.17, allocations: 7.762 MB / 0.7046 GB, free: 99.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005699/1.17, allocations: 0.8074 MB / 0.7054 GB, free: 99.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00397/1.174, allocations: 1.061 MB / 0.7064 GB, free: 98.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04839/1.223, allocations: 18.34 MB / 0.7243 GB, free: 91.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004331/1.223, allocations: 19.3 kB / 0.7243 GB, free: 91.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003164/1.226, allocations: 450.2 kB / 0.7248 GB, free: 91.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000885/1.227, allocations: 0.6693 MB / 0.7254 GB, free: 91.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03452/1.262, allocations: 17.59 MB / 0.7426 GB, free: 84.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08578/1.348, allocations: 56.91 MB / 0.7982 GB, free: 28.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0218/1.369, allocations: 12.82 MB / 0.8107 GB, free: 17.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005243/1.375, allocations: 3.74 MB / 0.8143 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/1.375, allocations: 165.3 kB / 0.8145 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/1.375, allocations: 82.62 kB / 0.8146 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 6.812e-06/1.375, allocations: 4 kB / 0.8146 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04497/1.42, allocations: 21.46 MB / 0.8355 GB, free: 8.113 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/1.42, allocations: 107.5 kB / 0.8356 GB, free: 7.992 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007151/1.427, allocations: 4.199 MB / 0.8397 GB, free: 3.766 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.428, allocations: 105.7 kB / 0.8398 GB, free: 3.656 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003879/1.432, allocations: 4.677 MB / 0.8444 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002903/1.435, allocations: 1.864 MB / 0.8462 GB, free: 13.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003013/1.438, allocations: 1.371 MB / 0.8476 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.438, allocations: 305.1 kB / 0.8479 GB, free: 11.42 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006193/1.445, allocations: 3.453 MB / 0.8512 GB, free: 7.965 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009056/1.454, allocations: 5.893 MB / 0.857 GB, free: 0.9766 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0165/1.47, allocations: 10.04 MB / 0.8668 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.922e-05/1.47, allocations: 24 kB / 0.8668 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02282/1.493, allocations: 10.96 MB / 0.8775 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.612e-05/1.493, allocations: 39.94 kB / 0.8776 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.493, allocations: 80 kB / 0.8776 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/1.497, allocations: 1.433 MB / 0.879 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0064/1.504, allocations: 1.622 MB / 0.8806 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/1.522, allocations: 11.39 MB / 0.8917 GB, free: 12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/1.528, allocations: 407.5 kB / 0.8921 GB, free: 11.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.529, allocations: 339.9 kB / 0.8925 GB, free: 11.27 MB / 0.5607 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.008449/1.537, allocations: 4.161 MB / 0.8965 GB, free: 7.09 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.539, allocations: 0.489 MB / 0.897 GB, free: 6.598 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/1.558, allocations: 8.444 MB / 0.9052 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01398/1.572, allocations: 7.065 MB / 0.9121 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/1.572, allocations: 16 kB / 0.9122 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/1.572, allocations: 27.89 kB / 0.9122 GB, free: 6.844 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2728/1.845, allocations: 18.82 MB / 0.9306 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/1.845, allocations: 2.438 kB / 0.9306 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003986/1.849, allocations: 0.9399 MB / 0.9315 GB, free: 174 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003459/1.852, allocations: 1.285 MB / 0.9327 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008814/1.853, allocations: 116.7 kB / 0.9328 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.866, allocations: 10.08 MB / 0.9427 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.866, allocations: 2.781 kB / 0.9427 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02134/1.887, allocations: 12.29 MB / 0.9547 GB, free: 163.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00382/1.891, allocations: 1.136 MB / 0.9558 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.892, allocations: 92.08 kB / 0.9559 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/1.895, allocations: 267 kB / 0.9561 GB, free: 163 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008983/1.896, allocations: 389.5 kB / 0.9565 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/1.896, allocations: 150.2 kB / 0.9567 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004543/1.901, allocations: 2.824 MB / 0.9594 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.901, allocations: 4.531 kB / 0.9594 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007944/1.909, allocations: 1.937 MB / 0.9613 GB, free: 161.6 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.01917/1.928, allocations: 13.04 MB / 0.974 GB, free: 156 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.941, allocations: 8.385 MB / 0.9822 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/1.941, allocations: 0.9688 kB / 0.9822 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006155/1.947, allocations: 3.89 MB / 0.986 GB, free: 149 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/1.952, allocations: 1.135 MB / 0.9871 GB, free: 148.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09513/2.048, allocations: 64.16 MB / 1.05 GB, free: 83.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009908/2.058, allocations: 7.009 MB / 1.057 GB, free: 76.65 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005381/2.063, allocations: 2.313 MB / 1.059 GB, free: 74.33 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004871/2.068, allocations: 3.873 MB / 1.063 GB, free: 70.45 MB / 0.5763 GB Notification: Performance of SimCode: time 1.383e-06/2.068, allocations: 3.938 kB / 1.063 GB, free: 70.45 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4998/2.568, allocations: 157 MB / 1.216 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.14/26.71, allocations: 4.062 kB / 1.216 GB, free: 157.3 MB / 0.5919 GB " [Timeout remaining time 633] (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: 29.7493810379965] Failed to read output from testmodel.py, exit status != 0: 26.900256327004172 26.914970566 26.321440986 Calling exit ...