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.001262/0.001262, allocations: 80.88 kB / 19.94 MB, free: 4.551 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 1.007/1.007, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001774/0.001774, allocations: 163.7 kB / 257 MB, free: 12.79 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.04184/0.04184, allocations: 6.659 MB / 266.9 MB, free: 3.047 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.473e-06/1.473e-06, allocations: 0 / 285.7 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.763e-05, allocations: 10.05 kB / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.1387/0.1387, allocations: 43.13 MB / 328.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0237/0.1624, allocations: 12.68 MB / 341.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006602/0.169, allocations: 441.6 kB / 341.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0135/0.1825, allocations: 13.2 MB / 355.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.1941, allocations: 5.091 MB / 360.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.1994, allocations: 3.055 MB / 363.3 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0186/0.218, allocations: 22.03 MB / 385.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02957/0.2476, allocations: 27.34 MB / 412.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2455/0.4931, allocations: 16.8 MB / 429.4 MB, free: 30.59 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/0.5073, allocations: 11.99 MB / 441.4 MB, free: 30.59 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005306/0.5126, allocations: 3.112 MB / 444.5 MB, free: 30.59 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.5181, allocations: 3.556 MB / 448.1 MB, free: 30.59 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.5212, allocations: 6.462 MB / 454.6 MB, free: 30.59 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008105/0.5293, allocations: 8.089 MB / 462.6 MB, free: 30.59 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.5417, allocations: 19.82 MB / 482.5 MB, free: 25.05 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5417, allocations: 0 / 482.5 MB, free: 25.05 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5417, allocations: 1.469 kB / 482.5 MB, free: 25.05 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0003066/0.542, allocations: 0 / 482.5 MB, free: 25.05 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.02537/0.5674, allocations: 23.05 MB / 0.4937 GB, free: 7.457 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5674, allocations: 8.031 kB / 0.4937 GB, free: 7.449 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/0.5952, allocations: 11.3 MB / 0.5047 GB, free: 12.55 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.6092, allocations: 6.997 MB / 0.5115 GB, free: 6.086 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007576/0.6099, allocations: 1.365 MB / 0.5129 GB, free: 4.734 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003007/0.613, allocations: 1.8 MB / 0.5146 GB, free: 2.957 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.6318, allocations: 14.97 MB / 0.5293 GB, free: 4.574 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.6321, allocations: 26.94 kB / 0.5293 GB, free: 4.551 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.6334, allocations: 0.7348 MB / 0.53 GB, free: 3.832 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008721/0.6343, allocations: 0.9941 MB / 0.531 GB, free: 2.836 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.6458, allocations: 7.306 MB / 0.5381 GB, free: 11.5 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2198/0.8657, allocations: 56.71 MB / 0.5935 GB, free: 81.25 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.8784, allocations: 10.5 MB / 0.6037 GB, free: 80.22 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.8811, allocations: 2.548 MB / 0.6062 GB, free: 80.14 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/0.8959, allocations: 8.823 MB / 0.6148 GB, free: 79.49 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.8959, allocations: 109.4 kB / 0.6149 GB, free: 79.45 MB / 458.8 MB Notification: Performance of pre-optimization done (n=677): time 8.285e-06/0.8959, allocations: 0 / 0.6149 GB, free: 79.45 MB / 458.8 MB Notification: Performance of matching and sorting (n=685): time 0.03143/0.9274, allocations: 17.72 MB / 0.6322 GB, free: 76.74 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.9274, allocations: 151.3 kB / 0.6324 GB, free: 76.64 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.9305, allocations: 4.574 MB / 0.6369 GB, free: 75.95 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.9308, allocations: 138.1 kB / 0.637 GB, free: 75.92 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.9326, allocations: 7.147 MB / 0.644 GB, free: 71.55 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.9334, allocations: 2.409 MB / 0.6463 GB, free: 69.98 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.9349, allocations: 1.715 MB / 0.648 GB, free: 69.84 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 2.366e-05/0.935, allocations: 311.4 kB / 0.6483 GB, free: 69.54 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.9376, allocations: 1.3 MB / 0.6496 GB, free: 69.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.9404, allocations: 4.42 MB / 0.6539 GB, free: 65.44 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006043/0.9464, allocations: 6.689 MB / 0.6604 GB, free: 61.16 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-05/0.9465, allocations: 32 kB / 0.6604 GB, free: 61.13 MB / 458.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.009739/0.9563, allocations: 6.646 MB / 0.6669 GB, free: 55.92 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.9563, allocations: 56.72 kB / 0.667 GB, free: 55.87 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.701e-05/0.9564, allocations: 108 kB / 0.6671 GB, free: 55.76 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/0.96, allocations: 1.762 MB / 0.6688 GB, free: 54.14 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/0.9644, allocations: 1.866 MB / 0.6706 GB, free: 52.48 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.9758, allocations: 17.15 MB / 0.6874 GB, free: 37.19 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/0.9803, allocations: 337.6 kB / 0.6877 GB, free: 37.01 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.9815, allocations: 364.9 kB / 0.688 GB, free: 36.73 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.004219/0.9857, allocations: 0.7357 MB / 0.6888 GB, free: 36.39 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/0.987, allocations: 0.6472 MB / 0.6894 GB, free: 35.82 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006762/0.9938, allocations: 5.244 MB / 0.6945 GB, free: 31.39 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003159/0.9969, allocations: 2.555 MB / 0.697 GB, free: 28.88 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.212e-05/0.997, allocations: 28 kB / 0.697 GB, free: 28.85 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-05/0.997, allocations: 35.86 kB / 0.6971 GB, free: 28.81 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/1.015, allocations: 10.39 MB / 0.7072 GB, free: 20.63 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.015, allocations: 4 kB / 0.7072 GB, free: 20.63 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.017, allocations: 0.9132 MB / 0.7081 GB, free: 19.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003625/1.021, allocations: 1.799 MB / 0.7099 GB, free: 18.14 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003928/1.021, allocations: 140.2 kB / 0.71 GB, free: 18.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.034, allocations: 22.07 MB / 0.7316 GB, free: 14.26 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.034, allocations: 8.062 kB / 0.7316 GB, free: 14.25 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008783/1.043, allocations: 6.238 MB / 0.7377 GB, free: 8.457 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.045, allocations: 0.9656 MB / 0.7386 GB, free: 7.609 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007985/1.046, allocations: 128.2 kB / 0.7387 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.047, allocations: 208 kB / 0.7389 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/1.048, allocations: 0.5202 MB / 0.7394 GB, free: 7.02 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/1.048, allocations: 144.6 kB / 0.7396 GB, free: 6.926 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002221/1.051, allocations: 2.197 MB / 0.7417 GB, free: 5.117 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.051, allocations: 0 / 0.7417 GB, free: 5.117 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0078/1.059, allocations: 3.054 MB / 0.7447 GB, free: 2.348 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.0008654/1.059, allocations: 343.7 kB / 0.745 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.1314/1.191, allocations: 6.251 MB / 0.7511 GB, free: 119.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002702/1.191, allocations: 96.31 kB / 0.7512 GB, free: 119.4 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005984/1.197, allocations: 4.244 MB / 0.7554 GB, free: 118 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00694/1.204, allocations: 1.973 MB / 0.7573 GB, free: 117.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/1.253, allocations: 26.52 MB / 0.7832 GB, free: 108 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008427/1.262, allocations: 3.604 MB / 0.7867 GB, free: 107.5 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004941/1.266, allocations: 1.162 MB / 0.7878 GB, free: 107.3 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003958/1.27, allocations: 1.732 MB / 0.7895 GB, free: 107.2 MB / 474.8 MB Notification: Performance of SimCode: time 2.044e-06/1.27, allocations: 0 / 0.7895 GB, free: 107.2 MB / 474.8 MB Notification: Performance of Templates: time 0.2833/1.554, allocations: 132.7 MB / 0.9191 GB, free: 112 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.760694209020585]