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.001309/0.001309, allocations: 80.94 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.9581/0.9581, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.001261/0.001261, allocations: 167.3 kB / 257 MB, free: 12.8 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.03469/0.03469, allocations: 6.655 MB / 266.9 MB, free: 3.059 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 285.7 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.281e-05, allocations: 2.312 kB / 285.7 MB, free: 272 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.1449/0.1449, allocations: 43.18 MB / 328.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.1698, allocations: 12.69 MB / 341.6 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007056/0.1768, allocations: 433.6 kB / 342 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01369/0.1905, allocations: 13.11 MB / 355.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.2019, allocations: 5.061 MB / 360.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.207, allocations: 3.04 MB / 363.2 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01931/0.2263, allocations: 22.04 MB / 385.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03978/0.2661, allocations: 27.31 MB / 412.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3305/0.5966, allocations: 16.8 MB / 429.4 MB, free: 29.34 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01742/0.614, allocations: 11.99 MB / 441.4 MB, free: 29.34 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008665/0.6227, allocations: 3.112 MB / 444.5 MB, free: 29.34 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.6347, allocations: 3.573 MB / 448 MB, free: 29.34 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01018/0.6448, allocations: 6.47 MB / 454.5 MB, free: 29.34 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01685/0.6617, allocations: 8.083 MB / 462.6 MB, free: 29.34 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02678/0.6885, allocations: 19.83 MB / 482.4 MB, free: 24.69 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6885, allocations: 0 / 482.4 MB, free: 24.69 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6885, allocations: 2.375 kB / 482.4 MB, free: 24.69 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001082/0.6895, allocations: 2.938 kB / 482.4 MB, free: 24.69 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: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.04315/0.7327, allocations: 23.04 MB / 0.4936 GB, free: 7.301 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.7327, allocations: 12.03 kB / 0.4936 GB, free: 7.289 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03822/0.771, allocations: 11.29 MB / 0.5047 GB, free: 12.39 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/0.7894, allocations: 7.003 MB / 0.5115 GB, free: 5.926 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/0.7907, allocations: 1.365 MB / 0.5128 GB, free: 4.574 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006228/0.7969, allocations: 1.801 MB / 0.5146 GB, free: 2.797 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04835/0.8452, allocations: 14.97 MB / 0.5292 GB, free: 4.41 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008237/0.8461, allocations: 18.95 kB / 0.5292 GB, free: 4.395 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006124/0.8522, allocations: 0.7429 MB / 0.53 GB, free: 3.676 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009832/0.8532, allocations: 0.9907 MB / 0.5309 GB, free: 2.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/0.8783, allocations: 7.305 MB / 0.5381 GB, free: 11.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2572/1.135, allocations: 56.71 MB / 0.5934 GB, free: 80.64 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.146, allocations: 10.49 MB / 0.6037 GB, free: 79.62 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/1.149, allocations: 2.554 MB / 0.6062 GB, free: 79.54 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/1.162, allocations: 8.814 MB / 0.6148 GB, free: 78.89 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/1.162, allocations: 111.1 kB / 0.6149 GB, free: 78.85 MB / 458.8 MB Notification: Performance of pre-optimization done (n=677): time 8.015e-06/1.162, allocations: 0 / 0.6149 GB, free: 78.85 MB / 458.8 MB Notification: Performance of matching and sorting (n=685): time 0.03432/1.196, allocations: 17.72 MB / 0.6322 GB, free: 76.12 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/1.196, allocations: 151 kB / 0.6323 GB, free: 76.02 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/1.2, allocations: 4.572 MB / 0.6368 GB, free: 75.33 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003291/1.201, allocations: 136.7 kB / 0.6369 GB, free: 75.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/1.203, allocations: 7.139 MB / 0.6439 GB, free: 70.93 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.204, allocations: 2.412 MB / 0.6463 GB, free: 69.37 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001774/1.206, allocations: 1.713 MB / 0.6479 GB, free: 69.22 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 3.179e-05/1.206, allocations: 308.6 kB / 0.6482 GB, free: 68.92 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.207, allocations: 1.3 MB / 0.6495 GB, free: 68.88 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/1.21, allocations: 4.424 MB / 0.6538 GB, free: 64.82 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004995/1.215, allocations: 6.688 MB / 0.6604 GB, free: 60.26 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.376e-05/1.215, allocations: 32 kB / 0.6604 GB, free: 60.23 MB / 458.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.008426/1.223, allocations: 6.652 MB / 0.6669 GB, free: 54.99 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/1.223, allocations: 52 kB / 0.6669 GB, free: 54.94 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.122e-05/1.223, allocations: 108 kB / 0.667 GB, free: 54.83 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/1.227, allocations: 1.783 MB / 0.6688 GB, free: 53.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/1.231, allocations: 1.998 MB / 0.6707 GB, free: 51.41 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.242, allocations: 17.2 MB / 0.6875 GB, free: 36.06 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.246, allocations: 330.4 kB / 0.6878 GB, free: 35.89 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005195/1.246, allocations: 370 kB / 0.6882 GB, free: 35.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * 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 (1072): * Single equations (assignments): 1062 * 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,41.0%), (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.003366/1.25, allocations: 0.7273 MB / 0.6889 GB, free: 35.27 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009159/1.251, allocations: 0.653 MB / 0.6895 GB, free: 34.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006145/1.257, allocations: 5.255 MB / 0.6947 GB, free: 30.26 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003113/1.26, allocations: 2.548 MB / 0.6972 GB, free: 27.75 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/1.26, allocations: 31.94 kB / 0.6972 GB, free: 27.71 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/1.26, allocations: 35.86 kB / 0.6972 GB, free: 27.68 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.275, allocations: 10.37 MB / 0.7074 GB, free: 19.52 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.275, allocations: 4 kB / 0.7074 GB, free: 19.51 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002725/1.277, allocations: 1.412 MB / 0.7087 GB, free: 18.38 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/1.281, allocations: 1.812 MB / 0.7105 GB, free: 16.7 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/1.281, allocations: 148.7 kB / 0.7106 GB, free: 16.65 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.293, allocations: 21.72 MB / 0.7319 GB, free: 12.97 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.293, allocations: 10.3 kB / 0.7319 GB, free: 12.97 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0085/1.301, allocations: 6.229 MB / 0.738 GB, free: 7.18 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.303, allocations: 0.963 MB / 0.7389 GB, free: 6.328 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005827/1.304, allocations: 133.6 kB / 0.739 GB, free: 6.293 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.305, allocations: 203.4 kB / 0.7392 GB, free: 6.184 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008008/1.306, allocations: 0.5234 MB / 0.7397 GB, free: 5.738 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/1.306, allocations: 141.9 kB / 0.7399 GB, free: 5.645 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002054/1.308, allocations: 2.197 MB / 0.742 GB, free: 3.84 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.11e-07/1.308, allocations: 0 / 0.742 GB, free: 3.84 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006764/1.315, allocations: 3.055 MB / 0.745 GB, free: 1.066 MB / 474.8 MB 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.0005973/1.316, allocations: 351.7 kB / 0.7453 GB, free: 0.875 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.1295/1.445, allocations: 6.243 MB / 0.7514 GB, free: 118.4 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002381/1.446, allocations: 97.59 kB / 0.7515 GB, free: 118.4 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.45, allocations: 4.246 MB / 0.7557 GB, free: 116.9 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/1.456, allocations: 1.969 MB / 0.7576 GB, free: 116.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/1.486, allocations: 26.53 MB / 0.7835 GB, free: 106.9 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.489, allocations: 3.604 MB / 0.787 GB, free: 106.5 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003457/1.493, allocations: 1.155 MB / 0.7881 GB, free: 106.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003087/1.496, allocations: 1.734 MB / 0.7898 GB, free: 106.1 MB / 474.8 MB Notification: Performance of SimCode: time 1.653e-06/1.496, allocations: 0 / 0.7898 GB, free: 106.1 MB / 474.8 MB Notification: Performance of Templates: time 0.3024/1.798, allocations: 132.8 MB / 0.9196 GB, free: 112.4 MB / 474.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.965103297960013]