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.001395/0.001395, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.6/1.6, allocations: 230.6 MB / 252.7 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] 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.001854/0.001854, allocations: 206.8 kB / 309.2 MB, free: 2.934 MB / 238.1 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.04171/0.04171, allocations: 8.923 MB / 374.6 MB, free: 1.707 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 83.88 kB / 0.4896 GB, free: 6.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3423, allocations: 55.6 MB / 0.5439 GB, free: 26.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02042/0.3627, allocations: 21.5 MB / 0.5649 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.3797, allocations: 7.901 MB / 0.5726 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006728/0.3864, allocations: 213.2 kB / 0.5728 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01997/0.4064, allocations: 7.83 MB / 0.5805 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.4181, allocations: 3.083 MB / 0.5835 GB, free: 360 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007146/0.4253, allocations: 1.82 MB / 0.5853 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01983/0.4451, allocations: 11.34 MB / 0.5964 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03245/0.4775, allocations: 14.48 MB / 0.6105 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/0.4909, allocations: 6.083 MB / 0.6164 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/0.5057, allocations: 6.268 MB / 0.6226 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007528/0.5132, allocations: 1.715 MB / 0.6242 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009436/0.5227, allocations: 2.136 MB / 0.6263 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007501/0.5302, allocations: 3.41 MB / 0.6297 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01531/0.5455, allocations: 4.911 MB / 0.6344 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04016/0.5856, allocations: 23.29 MB / 0.6572 GB, free: 8.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5856, allocations: 4 kB / 0.6572 GB, free: 8.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5856, allocations: 0 / 0.6572 GB, free: 8.531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007185/0.5864, allocations: 4 kB / 0.6572 GB, free: 8.527 MB / 462.1 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.0457/0.6321, allocations: 13.57 MB / 0.6704 GB, free: 10.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6321, allocations: 8.031 kB / 0.6705 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03772/0.6698, allocations: 6.249 MB / 0.6766 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/0.6898, allocations: 7.374 MB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009135/0.6907, allocations: 0.7263 MB / 0.6845 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005186/0.6959, allocations: 0.9413 MB / 0.6854 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5637/1.26, allocations: 16.31 MB / 0.7013 GB, free: 98.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003813/1.26, allocations: 19.3 kB / 0.7013 GB, free: 98.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003441/1.263, allocations: 400.1 kB / 0.7017 GB, free: 98.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007756/1.264, allocations: 0.5605 MB / 0.7023 GB, free: 98.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/1.3, allocations: 15.07 MB / 0.717 GB, free: 92.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08813/1.388, allocations: 45.41 MB / 0.7613 GB, free: 63.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/1.403, allocations: 8.537 MB / 0.7697 GB, free: 59.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/1.407, allocations: 3.32 MB / 0.7729 GB, free: 55.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/1.408, allocations: 119.4 kB / 0.773 GB, free: 55.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.408, allocations: 85.81 kB / 0.7731 GB, free: 55.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=447): time 7.303e-06/1.408, allocations: 0 / 0.7731 GB, free: 55.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.04637/1.454, allocations: 20.41 MB / 0.793 GB, free: 35.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.454, allocations: 98.95 kB / 0.7931 GB, free: 35.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/1.46, allocations: 4.422 MB / 0.7974 GB, free: 31.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008193/1.461, allocations: 101.7 kB / 0.7975 GB, free: 30.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.463, allocations: 4.35 MB / 0.8018 GB, free: 26.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/1.465, allocations: 1.613 MB / 0.8034 GB, free: 25.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/1.467, allocations: 1.208 MB / 0.8045 GB, free: 23.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.467, allocations: 305.1 kB / 0.8048 GB, free: 23.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/1.47, allocations: 3.061 MB / 0.8078 GB, free: 20.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/1.475, allocations: 5.235 MB / 0.8129 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/1.485, allocations: 8.875 MB / 0.8216 GB, free: 4.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.888e-05/1.485, allocations: 20 kB / 0.8216 GB, free: 4.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01888/1.504, allocations: 9.821 MB / 0.8312 GB, free: 10.69 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/1.504, allocations: 32 kB / 0.8312 GB, free: 10.66 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.504, allocations: 71.94 kB / 0.8313 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004041/1.508, allocations: 1.382 MB / 0.8327 GB, free: 9.203 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006113/1.515, allocations: 1.388 MB / 0.834 GB, free: 7.812 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/1.537, allocations: 12.04 MB / 0.8458 GB, free: 11.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/1.542, allocations: 351.7 kB / 0.8461 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.544, allocations: 304 kB / 0.8464 GB, free: 10.93 MB / 0.5138 GB 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.009115/1.553, allocations: 3.892 MB / 0.8502 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/1.555, allocations: 465 kB / 0.8506 GB, free: 6.566 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/1.576, allocations: 8.431 MB / 0.8589 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01396/1.59, allocations: 6.205 MB / 0.8649 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-05/1.59, allocations: 12 kB / 0.8649 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-05/1.59, allocations: 23.86 kB / 0.865 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03829/1.629, allocations: 14.98 MB / 0.8796 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/1.629, allocations: 8 kB / 0.8796 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003741/1.632, allocations: 0.8074 MB / 0.8804 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/1.636, allocations: 1.258 MB / 0.8816 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008393/1.637, allocations: 108 kB / 0.8817 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/1.656, allocations: 10.96 MB / 0.8924 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.656, allocations: 11.94 kB / 0.8924 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/1.68, allocations: 11.16 MB / 0.9033 GB, free: 140 kB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004393/1.684, allocations: 1.04 MB / 0.9043 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/1.685, allocations: 87.98 kB / 0.9044 GB, free: 15 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003241/1.689, allocations: 231.7 kB / 0.9047 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/1.69, allocations: 351.2 kB / 0.905 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003989/1.69, allocations: 144 kB / 0.9051 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005415/1.695, allocations: 2.947 MB / 0.908 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.695, allocations: 4 kB / 0.908 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008165/1.704, allocations: 1.715 MB / 0.9097 GB, free: 9.648 MB / 0.5763 GB 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.002618/1.706, allocations: 0.5501 MB / 0.9102 GB, free: 9.246 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01803/1.724, allocations: 7.663 MB / 0.9177 GB, free: 1.57 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/1.724, allocations: 8.062 kB / 0.9177 GB, free: 1.562 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2653/1.99, allocations: 3.672 MB / 0.9213 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/1.996, allocations: 0.9598 MB / 0.9222 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03299/2.029, allocations: 18.32 MB / 0.9401 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/2.04, allocations: 6.066 MB / 0.946 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007453/2.048, allocations: 2.091 MB / 0.9481 GB, free: 176.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/2.049, allocations: 390.4 kB / 0.9485 GB, free: 176.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.322e-06/2.049, allocations: 0 / 0.9485 GB, free: 176.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1146/2.164, allocations: 76.19 MB / 1.023 GB, free: 117.4 MB / 0.5763 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.458617689087987] Failed to read output from testmodel.py, exit status != 0: 2.1739157252013683 2.182359177 1.594054827 Calling exit ...