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.00148/0.00148, allocations: 108.9 kB / 16.45 MB, free: 6.453 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.514/1.514, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.002002/0.002002, allocations: 224.6 kB / 306 MB, free: 4.273 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.04126/0.04126, allocations: 8.912 MB / 371 MB, free: 3.414 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.002446/0.002446, allocations: 85.88 kB / 495.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1489, allocations: 55.58 MB / 0.5384 GB, free: 6.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.05442/0.2033, allocations: 46.17 MB / 0.5835 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03802/0.2414, allocations: 12.12 MB / 0.5953 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01246/0.2538, allocations: 433.6 kB / 0.5957 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03221/0.286, allocations: 12.52 MB / 0.608 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02341/0.3094, allocations: 4.92 MB / 0.6128 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.3224, allocations: 3.055 MB / 0.6158 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03519/0.3576, allocations: 21.1 MB / 0.6364 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6955/1.053, allocations: 31.6 MB / 0.6672 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02219/1.075, allocations: 11.18 MB / 0.6781 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02331/1.099, allocations: 12.32 MB / 0.6902 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01436/1.113, allocations: 3.133 MB / 0.6932 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/1.13, allocations: 3.571 MB / 0.6967 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01283/1.143, allocations: 6.275 MB / 0.7029 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0282/1.172, allocations: 11.91 MB / 0.7145 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06748/1.239, allocations: 41.65 MB / 0.7552 GB, free: 11.36 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.239, allocations: 4 kB / 0.7552 GB, free: 11.36 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.394e-06/1.239, allocations: 0 / 0.7552 GB, free: 11.36 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001399/1.24, allocations: 3.938 kB / 0.7552 GB, free: 11.36 MB / 0.4982 GB 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.09488/1.335, allocations: 24.38 MB / 0.779 GB, free: 2.992 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/1.335, allocations: 12.03 kB / 0.779 GB, free: 2.98 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01266/1.348, allocations: 2.941 MB / 0.7819 GB, free: 44 kB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06569/1.414, allocations: 11.31 MB / 0.7929 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03867/1.452, allocations: 13.53 MB / 0.8061 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001885/1.454, allocations: 1.365 MB / 0.8075 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0112/1.465, allocations: 1.789 MB / 0.8092 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1094/1.575, allocations: 29.65 MB / 0.8382 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009753/1.576, allocations: 27.47 kB / 0.8382 GB, free: 6.93 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009402/1.585, allocations: 0.7477 MB / 0.8389 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001783/1.587, allocations: 0.9974 MB / 0.8399 GB, free: 5.203 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06953/1.657, allocations: 27.35 MB / 0.8666 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7355/2.392, allocations: 94.08 MB / 0.9585 GB, free: 145.9 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03425/2.426, allocations: 51.76 MB / 1.009 GB, free: 96.64 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01217/2.439, allocations: 6.713 MB / 1.016 GB, free: 89.92 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0406/2.479, allocations: 19.82 MB / 1.035 GB, free: 70.38 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.224e-05/2.479, allocations: 112.5 kB / 1.035 GB, free: 70.26 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=677): time 9.047e-06/2.479, allocations: 0 / 1.035 GB, free: 70.26 MB / 0.6077 GB Notification: Performance of matching and sorting (n=685): time 0.0875/2.567, allocations: 38.54 MB / 1.073 GB, free: 32.07 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/2.567, allocations: 147.1 kB / 1.073 GB, free: 31.91 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/2.58, allocations: 7.151 MB / 1.08 GB, free: 24.86 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001597/2.581, allocations: 141.7 kB / 1.08 GB, free: 24.71 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.004352/2.586, allocations: 8.094 MB / 1.088 GB, free: 17.32 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.002635/2.588, allocations: 2.433 MB / 1.09 GB, free: 14.92 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004058/2.592, allocations: 1.898 MB / 1.092 GB, free: 13.01 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/2.593, allocations: 305.1 kB / 1.092 GB, free: 12.71 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007487/2.6, allocations: 4.867 MB / 1.097 GB, free: 7.836 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/2.612, allocations: 8.34 MB / 1.105 GB, free: 13.89 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3011/2.913, allocations: 14.02 MB / 1.119 GB, free: 201.4 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/2.913, allocations: 32.28 kB / 1.119 GB, free: 201.4 MB / 0.6233 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03197/2.945, allocations: 16.09 MB / 1.135 GB, free: 198 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/2.945, allocations: 57.94 kB / 1.135 GB, free: 198 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/2.946, allocations: 112.5 kB / 1.135 GB, free: 198 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006368/2.952, allocations: 2.575 MB / 1.137 GB, free: 197.3 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008396/2.96, allocations: 2.112 MB / 1.139 GB, free: 197.1 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03339/2.994, allocations: 30.81 MB / 1.17 GB, free: 176.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007945/3.002, allocations: 0.5288 MB / 1.17 GB, free: 176.6 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/3.004, allocations: 464.8 kB / 1.17 GB, free: 176.6 MB / 0.6233 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.01445/3.018, allocations: 6.771 MB / 1.177 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/3.02, allocations: 0.8054 MB / 1.178 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02038/3.041, allocations: 13.01 MB / 1.191 GB, free: 167.6 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01338/3.054, allocations: 8.19 MB / 1.199 GB, free: 160.5 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.726e-05/3.054, allocations: 28 kB / 1.199 GB, free: 160.5 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000181/3.054, allocations: 32.34 kB / 1.199 GB, free: 160.5 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05683/3.111, allocations: 27.94 MB / 1.226 GB, free: 133.9 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/3.111, allocations: 4 kB / 1.226 GB, free: 133.9 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005108/3.116, allocations: 1.124 MB / 1.227 GB, free: 132.8 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006196/3.122, allocations: 2.628 MB / 1.23 GB, free: 130.1 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001125/3.124, allocations: 159.9 kB / 1.23 GB, free: 130 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03251/3.156, allocations: 35.92 MB / 1.265 GB, free: 92.91 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/3.156, allocations: 4.25 kB / 1.265 GB, free: 92.9 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02663/3.183, allocations: 18.79 MB / 1.283 GB, free: 73.92 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/3.188, allocations: 1.81 MB / 1.285 GB, free: 72.09 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/3.19, allocations: 128.1 kB / 1.285 GB, free: 71.97 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005473/3.195, allocations: 395.5 kB / 1.285 GB, free: 71.58 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001935/3.197, allocations: 0.5375 MB / 1.286 GB, free: 71.04 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008373/3.198, allocations: 207.9 kB / 1.286 GB, free: 70.84 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.008311/3.207, allocations: 4.81 MB / 1.291 GB, free: 66.06 MB / 0.6233 GB Notification: Performance of sort global known variables: time 2.9e-07/3.207, allocations: 0 / 1.291 GB, free: 66.06 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.0148/3.221, allocations: 3.059 MB / 1.294 GB, free: 63 MB / 0.6233 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.03026/3.252, allocations: 19.62 MB / 1.313 GB, free: 43.11 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.01983/3.271, allocations: 12.9 MB / 1.326 GB, free: 30.04 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/3.271, allocations: 4 kB / 1.326 GB, free: 30.04 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.01082/3.282, allocations: 7.137 MB / 1.333 GB, free: 22.75 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/3.294, allocations: 2.173 MB / 1.335 GB, free: 20.64 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.479/3.773, allocations: 103.4 MB / 1.436 GB, free: 150.1 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02322/3.796, allocations: 11.36 MB / 1.447 GB, free: 138.7 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.009947/3.806, allocations: 3.299 MB / 1.45 GB, free: 135.4 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01128/3.817, allocations: 6.865 MB / 1.457 GB, free: 128.6 MB / 0.6233 GB Notification: Performance of SimCode: time 8.52e-07/3.817, allocations: 0 / 1.457 GB, free: 128.6 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5925/4.41, allocations: 249.1 MB / 1.7 GB, free: 108.3 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.23/35.64, allocations: 12.25 kB / 1.7 GB, free: 108.3 MB / 0.6233 GB " [Timeout remaining time 624] (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: 39.76760822899814] Failed to read output from testmodel.py, exit status != 0: 35.85427981399698 35.864459316 34.622674062 Calling exit ...