Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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.00139/0.00139, allocations: 78.11 kB / 19.01 MB, free: 2.863 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.479/1.479, allocations: 177.2 MB / 199.3 MB, free: 9.469 MB / 190.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.00181/0.00181, allocations: 161.4 kB / 255.8 MB, free: 0.9141 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.03782/0.03782, allocations: 6.671 MB / 318.9 MB, free: 48.49 MB / 286.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: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") [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.003023/0.003023, allocations: 79.88 kB / 445.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2996, allocations: 55.58 MB / 0.4895 GB, free: 26.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.0316/0.3312, allocations: 33.45 MB / 0.5222 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02681/0.358, allocations: 10.03 MB / 0.532 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.3683, allocations: 362.1 kB / 0.5323 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02802/0.3963, allocations: 10.04 MB / 0.5421 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.4142, allocations: 4.132 MB / 0.5461 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009333/0.4235, allocations: 2.425 MB / 0.5485 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02795/0.4515, allocations: 16.74 MB / 0.5649 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04536/0.4968, allocations: 20.31 MB / 0.5847 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03834/0.5352, allocations: 13.18 MB / 0.5976 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02677/0.5619, allocations: 9.046 MB / 0.6064 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.5894/1.151, allocations: 2.416 MB / 0.6088 GB, free: 38.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/1.163, allocations: 2.813 MB / 0.6115 GB, free: 38.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01014/1.173, allocations: 4.825 MB / 0.6162 GB, free: 38.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02741/1.201, allocations: 7.174 MB / 0.6232 GB, free: 38.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04802/1.249, allocations: 32.35 MB / 0.6548 GB, free: 26.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.249, allocations: 5.781 kB / 0.6548 GB, free: 26.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/1.249, allocations: 3.656 kB / 0.6548 GB, free: 26.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001334/1.25, allocations: 0 / 0.6548 GB, free: 26.3 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.07029/1.32, allocations: 18.99 MB / 0.6734 GB, free: 14.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.32, allocations: 10.47 kB / 0.6734 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04644/1.367, allocations: 8.279 MB / 0.6815 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02842/1.395, allocations: 10.35 MB / 0.6916 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/1.397, allocations: 1.065 MB / 0.6926 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007986/1.405, allocations: 1.401 MB / 0.694 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07663/1.481, allocations: 23.09 MB / 0.7165 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008172/1.482, allocations: 19.75 kB / 0.7165 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006443/1.489, allocations: 0.5739 MB / 0.7171 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/1.49, allocations: 0.7793 MB / 0.7179 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05825/1.548, allocations: 20.98 MB / 0.7384 GB, free: 13.27 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1567/1.705, allocations: 63.07 MB / 0.8 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/1.733, allocations: 13.88 MB / 0.8135 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01027/1.744, allocations: 4.732 MB / 0.8181 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03133/1.775, allocations: 11.41 MB / 0.8293 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/1.775, allocations: 94.14 kB / 0.8294 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 8.416e-06/1.775, allocations: 0 / 0.8294 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.4196/2.195, allocations: 25.9 MB / 0.8547 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/2.195, allocations: 135.6 kB / 0.8548 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/2.205, allocations: 5.522 MB / 0.8602 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001453/2.207, allocations: 109.2 kB / 0.8603 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003895/2.211, allocations: 6.39 MB / 0.8665 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/2.213, allocations: 1.815 MB / 0.8683 GB, free: 188 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/2.216, allocations: 1.483 MB / 0.8697 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/2.216, allocations: 304.8 kB / 0.87 GB, free: 187 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/2.221, allocations: 3.635 MB / 0.8736 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006625/2.227, allocations: 6.539 MB / 0.88 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/2.24, allocations: 10.79 MB / 0.8905 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/2.24, allocations: 28 kB / 0.8905 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02358/2.264, allocations: 12 MB / 0.9022 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/2.264, allocations: 44 kB / 0.9023 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/2.264, allocations: 92 kB / 0.9024 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004712/2.269, allocations: 1.596 MB / 0.9039 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007162/2.276, allocations: 1.679 MB / 0.9056 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/2.297, allocations: 18.75 MB / 0.9239 GB, free: 137.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007397/2.305, allocations: 427.3 kB / 0.9243 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/2.307, allocations: 371.9 kB / 0.9246 GB, free: 136.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01079/2.317, allocations: 5.19 MB / 0.9297 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/2.319, allocations: 0.6016 MB / 0.9303 GB, free: 131 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/2.335, allocations: 9.146 MB / 0.9392 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008833/2.344, allocations: 5.86 MB / 0.945 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/2.344, allocations: 20 kB / 0.945 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-05/2.344, allocations: 23.91 kB / 0.945 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03764/2.382, allocations: 17.99 MB / 0.9626 GB, free: 97.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/2.382, allocations: 4 kB / 0.9626 GB, free: 97.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003878/2.385, allocations: 0.8743 MB / 0.9634 GB, free: 97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/2.39, allocations: 1.637 MB / 0.965 GB, free: 95.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009248/2.391, allocations: 135.9 kB / 0.9652 GB, free: 95.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/2.413, allocations: 22.05 MB / 0.9867 GB, free: 72.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/2.413, allocations: 16.22 kB / 0.9867 GB, free: 72.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/2.433, allocations: 13.54 MB / 0.9999 GB, free: 58.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00494/2.438, allocations: 1.308 MB / 1.001 GB, free: 57.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/2.44, allocations: 104 kB / 1.001 GB, free: 57.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/2.444, allocations: 283.7 kB / 1.002 GB, free: 56.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009704/2.445, allocations: 436.1 kB / 1.002 GB, free: 56.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/2.445, allocations: 163.9 kB / 1.002 GB, free: 56.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005454/2.451, allocations: 3.594 MB / 1.006 GB, free: 52.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/2.451, allocations: 0 / 1.006 GB, free: 52.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008602/2.459, allocations: 2.336 MB / 1.008 GB, free: 50.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/2.46, allocations: 308.8 kB / 1.008 GB, free: 50.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01401/2.474, allocations: 9.462 MB / 1.017 GB, free: 40.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.474, allocations: 0.5 kB / 1.017 GB, free: 40.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007787/2.482, allocations: 5.16 MB / 1.023 GB, free: 35.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007798/2.49, allocations: 1.445 MB / 1.024 GB, free: 33.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04364/2.534, allocations: 25.03 MB / 1.048 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01401/2.548, allocations: 8.493 MB / 1.057 GB, free: 200 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2715/2.819, allocations: 2.485 MB / 1.059 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/2.822, allocations: 466.2 kB / 1.06 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/2.822, allocations: 0 / 1.06 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1516/2.973, allocations: 89.48 MB / 1.147 GB, free: 117.8 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.763298084959388] Failed to read output from testmodel.py, exit status != 0: 2.9834136217832565 2.994740794 1.742920918 Calling exit ...