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.0009156/0.0009156, 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.9505/0.9505, allocations: 177.2 MB / 200.3 MB, free: 5.688 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.001442/0.001442, allocations: 156.6 kB / 257 MB, free: 12.97 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.02503/0.02503, allocations: 6.661 MB / 266.9 MB, free: 3.227 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.303e-06/1.303e-06, allocations: 0 / 285.7 MB, free: 456 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.902e-05, allocations: 5.266 kB / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.1411/0.1411, allocations: 23.46 MB / 309.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.1563, allocations: 8.487 MB / 317.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004781/0.1611, allocations: 210.9 kB / 317.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.1718, allocations: 8.862 MB / 326.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00879/0.1806, allocations: 3.135 MB / 329.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.1839, allocations: 1.844 MB / 331.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.195, allocations: 11.72 MB / 343.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.21, allocations: 14.96 MB / 358.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.2207, allocations: 9.08 MB / 367.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007352/0.2281, allocations: 6.492 MB / 373.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.2309, allocations: 1.715 MB / 375.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.2342, allocations: 2.179 MB / 377.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.2369, allocations: 3.503 MB / 381.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005138/0.242, allocations: 4.269 MB / 385.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.2533, allocations: 10.88 MB / 396.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2533, allocations: 0 / 396.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2533, allocations: 0 / 396.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002863/0.2536, allocations: 4 kB / 396.5 MB, free: 15.44 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.01899/0.2725, allocations: 12.56 MB / 409 MB, free: 2.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2726, allocations: 8.031 kB / 409 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/0.2925, allocations: 6.376 MB / 415.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008022/0.3006, allocations: 3.842 MB / 419.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/0.301, allocations: 0.7185 MB / 420 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/0.3028, allocations: 0.953 MB / 420.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2611/0.5639, allocations: 7.958 MB / 428.9 MB, free: 72.97 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.5641, allocations: 10.53 kB / 428.9 MB, free: 72.97 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006875/0.5648, allocations: 399.3 kB / 429.3 MB, free: 72.97 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004789/0.5652, allocations: 0.5606 MB / 429.9 MB, free: 72.95 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007834/0.5731, allocations: 4.086 MB / 433.9 MB, free: 72.66 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02902/0.6021, allocations: 31.02 MB / 465 MB, free: 61.32 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.6067, allocations: 4.77 MB / 469.7 MB, free: 58.99 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.6079, allocations: 1.171 MB / 470.9 MB, free: 58 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.6081, allocations: 140.8 kB / 471 MB, free: 57.89 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.6081, allocations: 82.06 kB / 471.1 MB, free: 57.8 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 5.991e-06/0.6081, allocations: 0 / 471.1 MB, free: 57.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.01771/0.6259, allocations: 9.807 MB / 480.9 MB, free: 49.3 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.6259, allocations: 97.14 kB / 481 MB, free: 49.19 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.6282, allocations: 3.302 MB / 484.3 MB, free: 46.55 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.6284, allocations: 101.7 kB / 484.4 MB, free: 46.44 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009294/0.6293, allocations: 3.871 MB / 488.3 MB, free: 43.12 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005481/0.6298, allocations: 1.594 MB / 489.9 MB, free: 41.62 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009503/0.6308, allocations: 1.108 MB / 491 MB, free: 40.62 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.605e-05/0.6308, allocations: 301.1 kB / 491.3 MB, free: 40.32 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009314/0.6317, allocations: 0.8523 MB / 492.1 MB, free: 39.46 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.6331, allocations: 2.82 MB / 495 MB, free: 35.85 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.6358, allocations: 4.299 MB / 499.3 MB, free: 31.01 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.6359, allocations: 23.94 kB / 499.3 MB, free: 30.99 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004562/0.6404, allocations: 4.199 MB / 0.4917 GB, free: 27.26 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.6405, allocations: 36 kB / 0.4917 GB, free: 27.23 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.6405, allocations: 68 kB / 0.4918 GB, free: 27.16 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.6424, allocations: 1.177 MB / 0.4929 GB, free: 26 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.6448, allocations: 1.332 MB / 0.4942 GB, free: 24.76 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.65, allocations: 6.457 MB / 0.5005 GB, free: 18.3 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.6517, allocations: 219.9 kB / 0.5008 GB, free: 18.08 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/0.652, allocations: 232 kB / 0.501 GB, free: 17.86 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.001886/0.6539, allocations: 0.5205 MB / 0.5015 GB, free: 17.42 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/0.6545, allocations: 413.6 kB / 0.5019 GB, free: 17.02 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.6591, allocations: 4.181 MB / 0.506 GB, free: 13.29 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002435/0.6616, allocations: 1.983 MB / 0.5079 GB, free: 11.34 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.6616, allocations: 12 kB / 0.5079 GB, free: 11.33 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.6616, allocations: 23.91 kB / 0.5079 GB, free: 11.3 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/0.6713, allocations: 8.754 MB / 0.5165 GB, free: 3.637 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6713, allocations: 8 kB / 0.5165 GB, free: 3.629 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6729, allocations: 0.7358 MB / 0.5172 GB, free: 2.934 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.6746, allocations: 1.057 MB / 0.5182 GB, free: 1.883 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.6748, allocations: 104 kB / 0.5183 GB, free: 1.781 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.6805, allocations: 6.07 MB / 0.5243 GB, free: 11.68 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.6805, allocations: 19.73 kB / 0.5243 GB, free: 11.66 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/0.6856, allocations: 3.933 MB / 0.5281 GB, free: 7.734 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.6867, allocations: 0.5724 MB / 0.5287 GB, free: 7.164 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.6871, allocations: 91.98 kB / 0.5288 GB, free: 7.074 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.688, allocations: 112 kB / 0.5289 GB, free: 6.965 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.6884, allocations: 335.2 kB / 0.5292 GB, free: 6.641 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.6886, allocations: 111.3 kB / 0.5293 GB, free: 6.535 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001536/0.6901, allocations: 1.591 MB / 0.5309 GB, free: 5.121 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6901, allocations: 3.75 kB / 0.5309 GB, free: 5.121 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004294/0.6944, allocations: 1.711 MB / 0.5325 GB, free: 3.41 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.001264/0.6957, allocations: 0.6016 MB / 0.5331 GB, free: 3.09 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.7004, allocations: 3.64 MB / 0.5367 GB, free: 15.73 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001086/0.7005, allocations: 67.94 kB / 0.5367 GB, free: 15.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.7029, allocations: 2.025 MB / 0.5387 GB, free: 13.77 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.7053, allocations: 0.9636 MB / 0.5397 GB, free: 12.85 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.7226, allocations: 14.61 MB / 0.5539 GB, free: 14.14 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.7244, allocations: 1.969 MB / 0.5558 GB, free: 12.15 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002211/0.7266, allocations: 0.7275 MB / 0.5566 GB, free: 11.42 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/0.7283, allocations: 0.9403 MB / 0.5575 GB, free: 10.48 MB / 426.8 MB Notification: Performance of SimCode: time 1.603e-06/0.7283, allocations: 0 / 0.5575 GB, free: 10.48 MB / 426.8 MB Notification: Performance of Templates: time 0.2099/0.9382, allocations: 71.54 MB / 0.6273 GB, free: 107.4 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.104225516319275]