Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.0009644/0.0009644, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9284/0.9284, allocations: 177.2 MB / 200.3 MB, free: 5.387 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.001232/0.001232, allocations: 156.6 kB / 257 MB, free: 12.82 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.02392/0.02392, allocations: 6.666 MB / 266.9 MB, free: 3.066 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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 285.7 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.531e-05, allocations: 6.25 kB / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.1338/0.1338, allocations: 23.41 MB / 309.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1485, allocations: 8.481 MB / 317.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0058/0.1543, allocations: 214.9 kB / 317.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.1653, allocations: 8.939 MB / 326.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008894/0.1742, allocations: 3.164 MB / 329.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.1782, allocations: 1.846 MB / 331.7 MB, free: 436 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.1899, allocations: 11.71 MB / 343.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01918/0.2091, allocations: 14.95 MB / 358.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.223, allocations: 9.096 MB / 367.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008736/0.2318, allocations: 6.484 MB / 374 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003846/0.2356, allocations: 1.715 MB / 375.7 MB, free: 4.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.2408, allocations: 2.155 MB / 377.8 MB, free: 2.055 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.2456, allocations: 3.519 MB / 381.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008097/0.2537, allocations: 4.265 MB / 385.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.2666, allocations: 10.87 MB / 396.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2667, allocations: 0 / 396.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2667, allocations: 3.938 kB / 396.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003632/0.267, allocations: 0 / 396.5 MB, free: 15.35 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02174/0.2888, allocations: 12.57 MB / 409.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.2888, allocations: 8.031 kB / 409.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/0.3088, allocations: 6.373 MB / 415.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008763/0.3175, allocations: 3.842 MB / 419.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005448/0.3181, allocations: 0.7185 MB / 420 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003146/0.3212, allocations: 0.9491 MB / 421 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.293/0.6142, allocations: 7.957 MB / 428.9 MB, free: 72.82 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002903/0.6145, allocations: 14.42 kB / 428.9 MB, free: 72.82 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001624/0.6161, allocations: 400.3 kB / 429.3 MB, free: 72.82 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005364/0.6167, allocations: 0.5625 MB / 429.9 MB, free: 72.8 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.6293, allocations: 4.08 MB / 434 MB, free: 72.51 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/0.6794, allocations: 31.03 MB / 465 MB, free: 61.18 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005483/0.6849, allocations: 4.763 MB / 469.7 MB, free: 59 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.6864, allocations: 1.175 MB / 470.9 MB, free: 58.01 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.6867, allocations: 144.5 kB / 471.1 MB, free: 57.89 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6867, allocations: 85.44 kB / 471.1 MB, free: 57.8 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.823e-06/0.6867, allocations: 0 / 471.1 MB, free: 57.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.0189/0.7056, allocations: 9.8 MB / 480.9 MB, free: 49.25 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.7057, allocations: 98.95 kB / 481 MB, free: 49.14 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/0.7084, allocations: 3.298 MB / 484.3 MB, free: 46.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004864/0.7089, allocations: 97.7 kB / 484.4 MB, free: 46.4 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.7099, allocations: 3.874 MB / 488.3 MB, free: 43.08 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009551/0.7109, allocations: 1.6 MB / 489.9 MB, free: 41.57 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.7119, allocations: 1.101 MB / 491 MB, free: 40.58 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.581e-05/0.7119, allocations: 305.1 kB / 491.3 MB, free: 40.28 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7129, allocations: 0.8467 MB / 492.2 MB, free: 39.43 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.7143, allocations: 2.823 MB / 495 MB, free: 35.81 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.7174, allocations: 4.305 MB / 499.3 MB, free: 30.96 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-05/0.7175, allocations: 23.94 kB / 499.3 MB, free: 30.94 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.009364/0.7269, allocations: 4.198 MB / 0.4917 GB, free: 27.22 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.727, allocations: 32 kB / 0.4917 GB, free: 27.19 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.665e-05/0.727, allocations: 68 kB / 0.4918 GB, free: 27.12 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.7292, allocations: 1.176 MB / 0.493 GB, free: 25.96 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/0.7323, allocations: 1.254 MB / 0.4942 GB, free: 24.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.7381, allocations: 6.406 MB / 0.5004 GB, free: 18.39 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.741, allocations: 219.9 kB / 0.5006 GB, free: 18.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007412/0.7417, allocations: 239.9 kB / 0.5009 GB, free: 17.94 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002179/0.7439, allocations: 0.512 MB / 0.5014 GB, free: 17.51 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007906/0.7447, allocations: 411.6 kB / 0.5018 GB, free: 17.11 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.7491, allocations: 4.179 MB / 0.5058 GB, free: 13.38 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00244/0.7515, allocations: 1.984 MB / 0.5078 GB, free: 11.43 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7515, allocations: 15.98 kB / 0.5078 GB, free: 11.42 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.7515, allocations: 27.91 kB / 0.5078 GB, free: 11.39 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.7644, allocations: 8.749 MB / 0.5164 GB, free: 3.727 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.7644, allocations: 4 kB / 0.5164 GB, free: 3.723 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.766, allocations: 0.69 MB / 0.517 GB, free: 3.078 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.7681, allocations: 1.061 MB / 0.5181 GB, free: 2.027 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003845/0.7685, allocations: 104 kB / 0.5182 GB, free: 1.926 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006128/0.7746, allocations: 6.017 MB / 0.5241 GB, free: 11.87 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7746, allocations: 11.25 kB / 0.5241 GB, free: 11.86 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00588/0.7805, allocations: 3.917 MB / 0.5279 GB, free: 7.945 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.782, allocations: 0.5779 MB / 0.5285 GB, free: 7.367 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/0.7826, allocations: 88 kB / 0.5285 GB, free: 7.281 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.7837, allocations: 120 kB / 0.5287 GB, free: 7.164 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/0.7842, allocations: 338.8 kB / 0.529 GB, free: 6.84 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.7844, allocations: 95.97 kB / 0.5291 GB, free: 6.746 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001924/0.7863, allocations: 1.596 MB / 0.5306 GB, free: 5.328 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7863, allocations: 0 / 0.5306 GB, free: 5.328 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004773/0.7911, allocations: 1.711 MB / 0.5323 GB, free: 3.617 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.7926, allocations: 0.6255 MB / 0.5329 GB, free: 3.289 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.798, allocations: 3.625 MB / 0.5364 GB, free: 15.94 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000146/0.7981, allocations: 71.94 kB / 0.5365 GB, free: 15.86 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.8012, allocations: 2.028 MB / 0.5385 GB, free: 13.96 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.8043, allocations: 0.9574 MB / 0.5394 GB, free: 13.04 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/0.8269, allocations: 14.61 MB / 0.5537 GB, free: 14.34 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/0.8298, allocations: 1.969 MB / 0.5556 GB, free: 12.35 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002392/0.8322, allocations: 0.7275 MB / 0.5563 GB, free: 11.62 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/0.834, allocations: 0.9355 MB / 0.5573 GB, free: 10.68 MB / 426.8 MB Notification: Performance of SimCode: time 2.234e-06/0.834, allocations: 4 kB / 0.5573 GB, free: 10.68 MB / 426.8 MB Notification: Performance of Templates: time 0.2275/1.061, allocations: 71.52 MB / 0.6271 GB, free: 107.5 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.522234004922211]