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.001107/0.001107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002458, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.011/1.011, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2028/1.214, allocations: 53.65 MB / 242 MB, free: 2.629 MB / 234.7 MB " [Timeout remaining time 179] 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.001045/0.001045, allocations: 153 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002782/0.003827, allocations: 487 kB / 243.4 MB, free: 1.289 MB / 234.7 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.04054/0.04054, allocations: 6.648 MB / 250.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005203/0.04574, allocations: 2.679 MB / 253.5 MB, free: 7.414 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 254.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.838e-05, allocations: 6.25 kB / 254.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.02958/0.0296, allocations: 36.93 MB / 291.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.05433, allocations: 10.87 MB / 302.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.06467, allocations: 358.1 kB / 302.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01651/0.08118, allocations: 10.8 MB / 313.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.09433, allocations: 4.228 MB / 318 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.09969, allocations: 2.441 MB / 320.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.2222/0.3219, allocations: 17.36 MB / 337.7 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02202/0.3439, allocations: 20.44 MB / 358.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/0.3596, allocations: 13.46 MB / 371.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01383/0.3734, allocations: 9.322 MB / 381 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006433/0.3798, allocations: 2.41 MB / 383.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006753/0.3866, allocations: 2.846 MB / 386.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003038/0.3896, allocations: 3.987 MB / 390.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007422/0.397, allocations: 5.238 MB / 395.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.4143, allocations: 14.52 MB / 410 MB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.4144, allocations: 0 / 410 MB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4144, allocations: 0 / 410 MB, free: 3.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006321/0.415, allocations: 0 / 410 MB, free: 3.609 MB / 362.7 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.03682/0.4518, allocations: 20.86 MB / 430.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4519, allocations: 11.59 kB / 430.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03542/0.4873, allocations: 8.552 MB / 439.4 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.4998, allocations: 5.517 MB / 444.9 MB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005957/0.5004, allocations: 1.064 MB / 446 MB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.5023, allocations: 1.404 MB / 447.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.5187, allocations: 11.54 MB / 458.9 MB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002162/0.5189, allocations: 19.11 kB / 458.9 MB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001215/0.5201, allocations: 0.5774 MB / 459.5 MB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005635/0.5207, allocations: 0.752 MB / 460.3 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008854/0.5296, allocations: 5.635 MB / 465.9 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/0.795, allocations: 44.11 MB / 0.4981 GB, free: 70.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008841/0.8038, allocations: 8.1 MB / 0.506 GB, free: 70.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.806, allocations: 1.706 MB / 0.5076 GB, free: 70.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/0.8063, allocations: 208.4 kB / 0.5078 GB, free: 70.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.842e-05/0.8064, allocations: 101.4 kB / 0.5079 GB, free: 70.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=662): time 9.618e-06/0.8064, allocations: 3.406 kB / 0.5079 GB, free: 70.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=670): time 0.02855/0.835, allocations: 14.24 MB / 0.5218 GB, free: 68.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.8351, allocations: 147.8 kB / 0.522 GB, free: 68.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/0.8392, allocations: 3.654 MB / 0.5255 GB, free: 67.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003446/0.8396, allocations: 135.4 kB / 0.5257 GB, free: 67.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002239/0.8418, allocations: 5.472 MB / 0.531 GB, free: 64.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.8429, allocations: 2.349 MB / 0.5333 GB, free: 62.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.8444, allocations: 1.529 MB / 0.5348 GB, free: 62.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.8445, allocations: 304.7 kB / 0.5351 GB, free: 62.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.8459, allocations: 1.128 MB / 0.5362 GB, free: 62.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.8482, allocations: 3.809 MB / 0.5399 GB, free: 58.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/0.8529, allocations: 6.082 MB / 0.5459 GB, free: 52.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.261e-05/0.8529, allocations: 24.77 kB / 0.5459 GB, free: 52.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=1113) (initialization): time 0.006929/0.8599, allocations: 5.688 MB / 0.5514 GB, free: 47.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.8599, allocations: 44 kB / 0.5515 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.211e-05/0.86, allocations: 92 kB / 0.5516 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/0.8625, allocations: 1.271 MB / 0.5528 GB, free: 46.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/0.8667, allocations: 2.395 MB / 0.5551 GB, free: 44.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00799/0.8747, allocations: 11.35 MB / 0.5662 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/0.8784, allocations: 311.4 kB / 0.5665 GB, free: 34.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004487/0.8788, allocations: 321.8 kB / 0.5668 GB, free: 34.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 415 * 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 (1016): * Single equations (assignments): 1009 * 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,54.9%), (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.003532/0.8823, allocations: 0.6692 MB / 0.5675 GB, free: 33.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009838/0.8833, allocations: 0.5832 MB / 0.5681 GB, free: 33.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/0.8889, allocations: 4.397 MB / 0.5724 GB, free: 29.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002591/0.8915, allocations: 2.179 MB / 0.5745 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-05/0.8916, allocations: 20 kB / 0.5745 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/0.8916, allocations: 35.81 kB / 0.5745 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/0.9094, allocations: 12.58 MB / 0.5868 GB, free: 17.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.9094, allocations: 10.8 kB / 0.5868 GB, free: 17.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/0.913, allocations: 1.463 MB / 0.5883 GB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/0.9153, allocations: 0.8224 MB / 0.5891 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.9187, allocations: 1.277 MB / 0.5903 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/0.919, allocations: 148 kB / 0.5905 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.9304, allocations: 14.34 MB / 0.6045 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/0.9304, allocations: 11.38 kB / 0.6045 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02752/0.9579, allocations: 5.786 MB / 0.6101 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/0.9589, allocations: 140 kB / 0.6102 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008279/0.9672, allocations: 180 kB / 0.6104 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006968/0.9742, allocations: 0.4991 MB / 0.6109 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003622/0.9745, allocations: 139.9 kB / 0.611 GB, free: 8.738 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002341/0.9769, allocations: 1.749 MB / 0.6127 GB, free: 7.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9769, allocations: 0 / 0.6127 GB, free: 7.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02353/1, allocations: 2.484 MB / 0.6152 GB, free: 4.734 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,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) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (602): * Single equations (assignments): 594 * 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%), (12,64,53.5%), (1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009716/1.001, allocations: 344.8 kB / 0.6155 GB, free: 4.457 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007393/1.009, allocations: 5.295 MB / 0.6207 GB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002615/1.009, allocations: 133.9 kB / 0.6208 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005328/1.014, allocations: 4.037 MB / 0.6247 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1947/1.209, allocations: 13.37 MB / 0.6378 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09177/1.301, allocations: 21.98 MB / 0.6593 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/1.304, allocations: 2.871 MB / 0.6621 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00356/1.307, allocations: 1.023 MB / 0.6631 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002696/1.31, allocations: 1.458 MB / 0.6645 GB, free: 104.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.194e-06/1.31, allocations: 3.156 kB / 0.6645 GB, free: 104.6 MB / 458.7 MB Notification: Performance of Templates: time 0.1415/1.452, allocations: 110.5 MB / 0.7724 GB, free: 19.31 MB / 458.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.51568743865937]