Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001266/0.001266, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.456/1.456, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001576/0.001576, allocations: 223.9 kB / 309.2 MB, free: 3.176 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.04197/0.04197, allocations: 8.913 MB / 374.6 MB, free: 1.941 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_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",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.002518/0.002518, allocations: 87.86 kB / 0.4892 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.303, allocations: 55.59 MB / 0.5435 GB, free: 26.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.04313/0.3461, allocations: 46.27 MB / 0.5887 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03211/0.3782, allocations: 12.14 MB / 0.6006 GB, free: 112 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01173/0.39, allocations: 433.7 kB / 0.601 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03277/0.4227, allocations: 12.56 MB / 0.6132 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01893/0.4417, allocations: 5.022 MB / 0.6181 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.4523, allocations: 3.116 MB / 0.6212 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02992/0.4822, allocations: 21.24 MB / 0.6419 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05217/0.5344, allocations: 26.86 MB / 0.6682 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01829/0.5527, allocations: 11.24 MB / 0.6791 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0224/0.5751, allocations: 12.35 MB / 0.6912 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01041/0.5855, allocations: 3.133 MB / 0.6943 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5892/1.175, allocations: 3.581 MB / 0.6977 GB, free: 45.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01156/1.186, allocations: 6.272 MB / 0.7039 GB, free: 45.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0292/1.215, allocations: 11.91 MB / 0.7155 GB, free: 44.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0507/1.266, allocations: 41.61 MB / 0.7561 GB, free: 26.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.266, allocations: 0 / 0.7561 GB, free: 26.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/1.266, allocations: 0 / 0.7561 GB, free: 26.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001405/1.268, allocations: 0 / 0.7561 GB, free: 26.19 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07424/1.342, allocations: 24.32 MB / 0.7799 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/1.342, allocations: 7.844 kB / 0.7799 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01358/1.355, allocations: 2.951 MB / 0.7828 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06216/1.418, allocations: 11.31 MB / 0.7938 GB, free: 15.9 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03769/1.455, allocations: 13.62 MB / 0.8071 GB, free: 2.734 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/1.457, allocations: 1.36 MB / 0.8084 GB, free: 1.391 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008206/1.465, allocations: 1.793 MB / 0.8102 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08431/1.55, allocations: 29.64 MB / 0.8391 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007442/1.55, allocations: 31.45 kB / 0.8392 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006519/1.557, allocations: 0.7437 MB / 0.8399 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001188/1.558, allocations: 0.9868 MB / 0.8409 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07193/1.63, allocations: 27.36 MB / 0.8676 GB, free: 4.773 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4897/2.12, allocations: 91.99 MB / 0.9574 GB, free: 160.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02843/2.148, allocations: 18.94 MB / 0.9759 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01148/2.16, allocations: 6.696 MB / 0.9825 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04237/2.202, allocations: 19.51 MB / 1.002 GB, free: 149.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/2.202, allocations: 114.2 kB / 1.002 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=677): time 7.834e-06/2.202, allocations: 0 / 1.002 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=685): time 0.09039/2.292, allocations: 37.35 MB / 1.038 GB, free: 122.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/2.292, allocations: 147.1 kB / 1.038 GB, free: 122.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01352/2.306, allocations: 7.152 MB / 1.045 GB, free: 114.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00156/2.308, allocations: 141.6 kB / 1.045 GB, free: 114.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004452/2.312, allocations: 8.082 MB / 1.053 GB, free: 106.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/2.315, allocations: 2.439 MB / 1.056 GB, free: 104.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004779/2.32, allocations: 1.89 MB / 1.057 GB, free: 102.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.176e-05/2.32, allocations: 309.1 kB / 1.058 GB, free: 102.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007482/2.327, allocations: 4.867 MB / 1.063 GB, free: 97.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009677/2.337, allocations: 8.34 MB / 1.071 GB, free: 87.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/2.354, allocations: 14.03 MB / 1.084 GB, free: 71.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/2.354, allocations: 32 kB / 1.084 GB, free: 71.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02721/2.381, allocations: 15.93 MB / 1.1 GB, free: 55.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/2.382, allocations: 55.94 kB / 1.1 GB, free: 55.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/2.382, allocations: 112 kB / 1.1 GB, free: 55.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005731/2.387, allocations: 2.579 MB / 1.103 GB, free: 52.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008063/2.395, allocations: 2.11 MB / 1.105 GB, free: 50.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/2.425, allocations: 29.99 MB / 1.134 GB, free: 19.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00863/2.434, allocations: 0.5269 MB / 1.134 GB, free: 19.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/2.436, allocations: 467.9 kB / 1.135 GB, free: 18.76 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01396/2.45, allocations: 6.778 MB / 1.142 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/2.452, allocations: 0.8035 MB / 1.142 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2908/2.743, allocations: 12.7 MB / 1.155 GB, free: 180.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01622/2.759, allocations: 8.188 MB / 1.163 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.193e-05/2.759, allocations: 28.03 kB / 1.163 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001283/2.759, allocations: 37.48 kB / 1.163 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07103/2.83, allocations: 27.75 MB / 1.19 GB, free: 171.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/2.83, allocations: 8.406 kB / 1.19 GB, free: 171.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005327/2.836, allocations: 1.118 MB / 1.191 GB, free: 171.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006501/2.842, allocations: 2.631 MB / 1.194 GB, free: 171 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/2.843, allocations: 157.6 kB / 1.194 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03284/2.876, allocations: 34.78 MB / 1.228 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.876, allocations: 3.906 kB / 1.228 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/2.908, allocations: 18.5 MB / 1.246 GB, free: 135.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007802/2.916, allocations: 1.781 MB / 1.247 GB, free: 134.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003689/2.919, allocations: 128.1 kB / 1.248 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006168/2.926, allocations: 389.4 kB / 1.248 GB, free: 134.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002052/2.928, allocations: 0.5642 MB / 1.249 GB, free: 133.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009514/2.929, allocations: 203.9 kB / 1.249 GB, free: 133.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009299/2.938, allocations: 4.818 MB / 1.253 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.938, allocations: 3.688 kB / 1.253 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01532/2.953, allocations: 3.058 MB / 1.256 GB, free: 125.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03216/2.985, allocations: 19.32 MB / 1.275 GB, free: 106.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02336/3.009, allocations: 12.82 MB / 1.288 GB, free: 93.63 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/3.009, allocations: 0 / 1.288 GB, free: 93.63 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01176/3.02, allocations: 7.138 MB / 1.295 GB, free: 86.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/3.032, allocations: 2.171 MB / 1.297 GB, free: 84.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5163/3.549, allocations: 103.4 MB / 1.398 GB, free: 210 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02739/3.576, allocations: 11.36 MB / 1.409 GB, free: 208.9 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01256/3.589, allocations: 3.299 MB / 1.412 GB, free: 208.6 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0135/3.602, allocations: 6.866 MB / 1.419 GB, free: 208.3 MB / 0.6232 GB Notification: Performance of SimCode: time 1.192e-06/3.602, allocations: 0 / 1.419 GB, free: 208.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6346/4.237, allocations: 253.1 MB / 1.666 GB, free: 173.4 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.3/39.53, allocations: 2.391 kB / 1.666 GB, free: 173.4 MB / 0.6232 GB " [Timeout remaining time 620] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMS_Start.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 43.35522427000251] Failed to read output from testmodel.py, exit status != 0: 39.781914911996864 39.801507113 38.531263122 Calling exit ...