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.0009528/0.0009528, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.003/1.003, allocations: 177.1 MB / 200 MB, free: 5.832 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.001311/0.001311, allocations: 160.6 kB / 256.6 MB, free: 13.14 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.0256/0.0256, allocations: 6.657 MB / 319.8 MB, free: 11.62 MB / 298.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 2.054e-06/2.054e-06, allocations: 0 / 391.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.887e-05, allocations: 2.312 kB / 391.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02332/0.02335, allocations: 24.09 MB / 415.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.03982, allocations: 8.139 MB / 423.9 MB, free: 3.273 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006103/0.04592, allocations: 214.9 kB / 424.1 MB, free: 3.062 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01449/0.06042, allocations: 8.894 MB / 433 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.07136, allocations: 3.158 MB / 436.2 MB, free: 6.953 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005436/0.07679, allocations: 1.854 MB / 438 MB, free: 5.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1839/0.2607, allocations: 11.69 MB / 449.7 MB, free: 117.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02805/0.2887, allocations: 14.54 MB / 464.2 MB, free: 113.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01808/0.3068, allocations: 9.049 MB / 473.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.317, allocations: 6.391 MB / 479.7 MB, free: 107.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005234/0.3222, allocations: 1.715 MB / 481.4 MB, free: 107.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007736/0.33, allocations: 2.15 MB / 483.5 MB, free: 106.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00611/0.3361, allocations: 3.516 MB / 487.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009422/0.3455, allocations: 4.272 MB / 491.3 MB, free: 99.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.3594, allocations: 10.87 MB / 0.4904 GB, free: 89.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3594, allocations: 0 / 0.4904 GB, free: 89.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3594, allocations: 3.375 kB / 0.4904 GB, free: 89.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005579/0.36, allocations: 0.5312 kB / 0.4904 GB, free: 89.85 MB / 410.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.02404/0.384, allocations: 14.39 MB / 0.5045 GB, free: 75.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.3841, allocations: 8.031 kB / 0.5045 GB, free: 75.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.4041, allocations: 7.845 MB / 0.5122 GB, free: 67.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.4154, allocations: 6.999 MB / 0.519 GB, free: 60.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/0.4158, allocations: 0.7156 MB / 0.5197 GB, free: 60.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.4184, allocations: 0.9497 MB / 0.5206 GB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.4376, allocations: 8.489 MB / 0.5289 GB, free: 50.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.4378, allocations: 19.91 kB / 0.5289 GB, free: 50.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008698/0.4387, allocations: 398.1 kB / 0.5293 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003284/0.439, allocations: 0.5591 MB / 0.5299 GB, free: 49.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.4517, allocations: 4.715 MB / 0.5345 GB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05609/0.5078, allocations: 41.81 MB / 0.5753 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2978/0.8056, allocations: 6.687 MB / 0.5818 GB, free: 84.66 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.8088, allocations: 1.539 MB / 0.5833 GB, free: 84.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/0.8091, allocations: 147.2 kB / 0.5835 GB, free: 84.6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.8092, allocations: 82.89 kB / 0.5835 GB, free: 84.55 MB / 410.8 MB Notification: Performance of pre-optimization done (n=447): time 8.265e-06/0.8092, allocations: 0 / 0.5835 GB, free: 84.55 MB / 410.8 MB Notification: Performance of matching and sorting (n=452): time 0.03159/0.8408, allocations: 12.79 MB / 0.596 GB, free: 83.11 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.8408, allocations: 102 kB / 0.5961 GB, free: 83.04 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/0.8464, allocations: 3.849 MB / 0.5999 GB, free: 82.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007627/0.8472, allocations: 96.52 kB / 0.6 GB, free: 82.56 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002789/0.85, allocations: 4.606 MB / 0.6045 GB, free: 80.79 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/0.8517, allocations: 1.645 MB / 0.6061 GB, free: 79.87 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001971/0.8537, allocations: 1.335 MB / 0.6074 GB, free: 79.76 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.8537, allocations: 481.3 kB / 0.6079 GB, free: 79.29 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.8558, allocations: 0.9676 MB / 0.6088 GB, free: 79.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003355/0.8592, allocations: 4.201 MB / 0.6129 GB, free: 75.47 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006293/0.8655, allocations: 5.768 MB / 0.6185 GB, free: 71.62 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.8656, allocations: 21.81 kB / 0.6186 GB, free: 71.62 MB / 410.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01011/0.8757, allocations: 5.737 MB / 0.6242 GB, free: 71.13 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.8758, allocations: 33.72 kB / 0.6242 GB, free: 71.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/0.8759, allocations: 69.28 kB / 0.6243 GB, free: 71.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.8788, allocations: 1.276 MB / 0.6255 GB, free: 71.05 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/0.8821, allocations: 1.386 MB / 0.6269 GB, free: 71.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007792/0.8899, allocations: 8.768 MB / 0.6354 GB, free: 66.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/0.8938, allocations: 347.2 kB / 0.6357 GB, free: 66.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/0.895, allocations: 298 kB / 0.636 GB, free: 66.84 MB / 410.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.002628/0.8976, allocations: 0.5436 MB / 0.6366 GB, free: 66.63 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009866/0.8986, allocations: 0.5993 MB / 0.6371 GB, free: 66.38 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006846/0.9054, allocations: 5.459 MB / 0.6425 GB, free: 65.16 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003884/0.9093, allocations: 2.985 MB / 0.6454 GB, free: 62.65 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.9093, allocations: 12 kB / 0.6454 GB, free: 62.64 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.9094, allocations: 29.5 kB / 0.6454 GB, free: 62.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.9265, allocations: 12.06 MB / 0.6572 GB, free: 52.31 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.9265, allocations: 8 kB / 0.6572 GB, free: 52.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.9282, allocations: 0.8033 MB / 0.658 GB, free: 51.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.9306, allocations: 1.168 MB / 0.6591 GB, free: 50.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/0.9309, allocations: 112.5 kB / 0.6592 GB, free: 50.29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00656/0.9374, allocations: 8.273 MB / 0.6673 GB, free: 41.83 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.9374, allocations: 12 kB / 0.6673 GB, free: 41.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/0.9452, allocations: 5.395 MB / 0.6726 GB, free: 36.29 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/0.947, allocations: 0.9418 MB / 0.6735 GB, free: 35.35 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005102/0.9475, allocations: 88 kB / 0.6736 GB, free: 35.26 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.9486, allocations: 223.8 kB / 0.6738 GB, free: 35.04 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005608/0.9492, allocations: 356.1 kB / 0.6742 GB, free: 34.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.9494, allocations: 140 kB / 0.6743 GB, free: 34.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001978/0.9513, allocations: 1.83 MB / 0.6761 GB, free: 32.76 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9513, allocations: 0 / 0.6761 GB, free: 32.76 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004916/0.9563, allocations: 1.71 MB / 0.6778 GB, free: 31.05 MB / 410.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.001234/0.9575, allocations: 0.5154 MB / 0.6783 GB, free: 30.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.9646, allocations: 4.644 MB / 0.6828 GB, free: 26.3 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.9646, allocations: 4 kB / 0.6828 GB, free: 26.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.968, allocations: 2.543 MB / 0.6853 GB, free: 23.82 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.9713, allocations: 0.9772 MB / 0.6862 GB, free: 22.9 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.991, allocations: 15.03 MB / 0.7009 GB, free: 7.676 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/0.9931, allocations: 2.746 MB / 0.7036 GB, free: 4.906 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003109/0.9962, allocations: 1.753 MB / 0.7053 GB, free: 3.148 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/0.9969, allocations: 384.4 kB / 0.7057 GB, free: 2.773 MB / 410.8 MB Notification: Performance of SimCode: time 1.643e-06/0.9969, allocations: 0 / 0.7057 GB, free: 2.773 MB / 410.8 MB Notification: Performance of Templates: time 0.2393/1.236, allocations: 68.42 MB / 0.7725 GB, free: 108.9 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: 6.358577584847808]