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.001212/0.001212, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.951/0.951, allocations: 177.2 MB / 200.3 MB, free: 5.676 MB / 186.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.001269/0.001269, allocations: 156.6 kB / 257 MB, free: 12.96 MB / 250.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.02469/0.02469, allocations: 6.657 MB / 266.9 MB, free: 3.219 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 2.354e-06/2.354e-06, allocations: 4 kB / 285.6 MB, free: 488 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.568e-05, allocations: 5.266 kB / 285.7 MB, free: 484 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.1527/0.1528, allocations: 36.62 MB / 322.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.1769, allocations: 10.79 MB / 333.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007913/0.1849, allocations: 362 kB / 333.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01506/0.1999, allocations: 10.83 MB / 344.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.214, allocations: 4.284 MB / 348.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.2213, allocations: 2.439 MB / 351 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02067/0.242, allocations: 17.31 MB / 368.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03361/0.2756, allocations: 21.01 MB / 389.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02322/0.2988, allocations: 12.97 MB / 402.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01309/0.3119, allocations: 9.283 MB / 411.5 MB, free: 240 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006535/0.3184, allocations: 2.41 MB / 414 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008642/0.3271, allocations: 2.831 MB / 416.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007096/0.3342, allocations: 4.991 MB / 421.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3073/0.6414, allocations: 6.255 MB / 428 MB, free: 47.36 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0286/0.67, allocations: 15.36 MB / 443.4 MB, free: 46.29 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.67, allocations: 1.844 kB / 443.4 MB, free: 46.29 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.67, allocations: 0 / 443.4 MB, free: 46.29 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.000977/0.671, allocations: 0 / 443.4 MB, free: 46.29 MB / 378.8 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.04387/0.7149, allocations: 17.85 MB / 461.3 MB, free: 41.15 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7149, allocations: 11.19 kB / 461.3 MB, free: 41.15 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03126/0.7462, allocations: 8.565 MB / 469.8 MB, free: 40.97 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/0.7626, allocations: 5.516 MB / 475.3 MB, free: 39.5 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/0.7638, allocations: 1.06 MB / 476.4 MB, free: 39.15 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006695/0.7705, allocations: 1.404 MB / 477.8 MB, free: 38.69 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04161/0.8121, allocations: 11.54 MB / 489.3 MB, free: 30.32 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008771/0.813, allocations: 19.42 kB / 489.4 MB, free: 30.3 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005601/0.8186, allocations: 0.5775 MB / 489.9 MB, free: 29.74 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005486/0.8191, allocations: 0.7793 MB / 490.7 MB, free: 28.96 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.8393, allocations: 5.628 MB / 496.3 MB, free: 23.32 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07902/0.9184, allocations: 43.88 MB / 0.5276 GB, free: 12.88 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.9293, allocations: 8.114 MB / 0.5355 GB, free: 4.969 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/0.9335, allocations: 1.708 MB / 0.5372 GB, free: 3.309 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01598/0.9495, allocations: 6.165 MB / 0.5432 GB, free: 13.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/0.9495, allocations: 86.77 kB / 0.5433 GB, free: 13.28 MB / 426.8 MB Notification: Performance of pre-optimization done (n=498): time 6.042e-06/0.9495, allocations: 0 / 0.5433 GB, free: 13.28 MB / 426.8 MB Notification: Performance of matching and sorting (n=506): time 0.02592/0.9755, allocations: 11.57 MB / 0.5546 GB, free: 1.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.9755, allocations: 129.3 kB / 0.5547 GB, free: 1.621 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.9803, allocations: 3.699 MB / 0.5583 GB, free: 14.69 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006988/0.981, allocations: 109.7 kB / 0.5584 GB, free: 14.57 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/0.9838, allocations: 5.697 MB / 0.564 GB, free: 9.07 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/0.9852, allocations: 1.794 MB / 0.5657 GB, free: 7.379 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/0.9871, allocations: 1.369 MB / 0.5671 GB, free: 6.156 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.9872, allocations: 305.1 kB / 0.5673 GB, free: 5.855 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.9887, allocations: 1.012 MB / 0.5683 GB, free: 4.848 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.9912, allocations: 3.68 MB / 0.5719 GB, free: 92 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1853/1.177, allocations: 5.42 MB / 0.5772 GB, free: 110.1 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/1.177, allocations: 27.09 kB / 0.5772 GB, free: 110.1 MB / 442.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.009009/1.186, allocations: 5.255 MB / 0.5824 GB, free: 109.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/1.186, allocations: 44.91 kB / 0.5824 GB, free: 109.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/1.186, allocations: 92.62 kB / 0.5825 GB, free: 109.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/1.189, allocations: 1.266 MB / 0.5837 GB, free: 109.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.193, allocations: 1.513 MB / 0.5852 GB, free: 109.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008569/1.202, allocations: 11.31 MB / 0.5963 GB, free: 103.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/1.206, allocations: 284 kB / 0.5965 GB, free: 103.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.207, allocations: 298.2 kB / 0.5968 GB, free: 103.2 MB / 442.8 MB 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.005016/1.212, allocations: 0.6112 MB / 0.5974 GB, free: 103.1 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.214, allocations: 0.4956 MB / 0.5979 GB, free: 103.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/1.219, allocations: 3.908 MB / 0.6017 GB, free: 102.7 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00235/1.221, allocations: 1.899 MB / 0.6036 GB, free: 102.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-05/1.221, allocations: 20.56 kB / 0.6036 GB, free: 102.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/1.221, allocations: 25.73 kB / 0.6036 GB, free: 102.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/1.238, allocations: 9.558 MB / 0.6129 GB, free: 100.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.238, allocations: 8 kB / 0.613 GB, free: 100.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.24, allocations: 0.7218 MB / 0.6137 GB, free: 100.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/1.243, allocations: 1.276 MB / 0.6149 GB, free: 99.41 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003889/1.243, allocations: 122 kB / 0.615 GB, free: 99.38 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009976/1.253, allocations: 14.62 MB / 0.6293 GB, free: 87.14 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.253, allocations: 7.656 kB / 0.6293 GB, free: 87.14 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006981/1.26, allocations: 4.854 MB / 0.634 GB, free: 82.46 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.262, allocations: 0.7319 MB / 0.6348 GB, free: 82.07 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000753/1.263, allocations: 108 kB / 0.6349 GB, free: 81.96 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.264, allocations: 148 kB / 0.635 GB, free: 81.82 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006912/1.265, allocations: 410.8 kB / 0.6354 GB, free: 81.43 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/1.265, allocations: 115.9 kB / 0.6355 GB, free: 81.31 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002434/1.268, allocations: 1.767 MB / 0.6372 GB, free: 79.78 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.268, allocations: 0 / 0.6372 GB, free: 79.78 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007529/1.275, allocations: 2.334 MB / 0.6395 GB, free: 77.45 MB / 442.8 MB 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.0008145/1.276, allocations: 294 kB / 0.6398 GB, free: 77.21 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006145/1.282, allocations: 4.687 MB / 0.6444 GB, free: 72.87 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001952/1.282, allocations: 83.94 kB / 0.6444 GB, free: 72.78 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.286, allocations: 3.016 MB / 0.6474 GB, free: 69.88 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/1.291, allocations: 1.485 MB / 0.6488 GB, free: 68.48 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03402/1.325, allocations: 20.49 MB / 0.6689 GB, free: 47.93 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007621/1.332, allocations: 2.776 MB / 0.6716 GB, free: 45.13 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003757/1.336, allocations: 0.925 MB / 0.6725 GB, free: 44.2 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/1.339, allocations: 1.335 MB / 0.6738 GB, free: 42.85 MB / 442.8 MB Notification: Performance of SimCode: time 1.854e-06/1.339, allocations: 0 / 0.6738 GB, free: 42.85 MB / 442.8 MB Notification: Performance of Templates: time 0.3156/1.654, allocations: 97.39 MB / 0.7689 GB, free: 112 MB / 458.8 MB " [Timeout remaining time 658] 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.175489976070821]