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.00103/0.00103, allocations: 93.06 kB / 19.65 MB, free: 276 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.071/1.071, allocations: 177.2 MB / 200 MB, free: 5.547 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.002262/0.002262, allocations: 164.6 kB / 256.6 MB, free: 13 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.02377/0.02377, allocations: 6.657 MB / 319.8 MB, free: 26.55 MB / 266.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.623e-06/1.623e-06, allocations: 0 / 391.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.733e-05, allocations: 6.25 kB / 391.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.1691/0.1691, allocations: 24.1 MB / 415.8 MB, free: 69.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.1848, allocations: 8.138 MB / 423.9 MB, free: 67.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007604/0.1924, allocations: 216.2 kB / 424.1 MB, free: 67.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.2044, allocations: 8.887 MB / 433 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.2159, allocations: 3.163 MB / 436.2 MB, free: 60.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00589/0.2218, allocations: 1.835 MB / 438 MB, free: 58.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.2353, allocations: 11.71 MB / 449.7 MB, free: 49.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.25, allocations: 14.52 MB / 464.2 MB, free: 34.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.2648, allocations: 8.979 MB / 473.2 MB, free: 25.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009049/0.2738, allocations: 6.254 MB / 479.5 MB, free: 19.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003595/0.2774, allocations: 1.715 MB / 481.2 MB, free: 17.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.2836, allocations: 2.163 MB / 483.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.2862, allocations: 3.519 MB / 486.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00574/0.2919, allocations: 4.285 MB / 491.1 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009417/0.3013, allocations: 10.88 MB / 0.4902 GB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3013, allocations: 7.938 kB / 0.4903 GB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3013, allocations: 0 / 0.4903 GB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003202/0.3016, allocations: 3.984 kB / 0.4903 GB, free: 12.73 MB / 346.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.02119/0.3228, allocations: 14.39 MB / 0.5043 GB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3229, allocations: 8.031 kB / 0.5043 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.3411, allocations: 7.841 MB / 0.512 GB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009863/0.351, allocations: 7.003 MB / 0.5188 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.3513, allocations: 0.7185 MB / 0.5195 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.3526, allocations: 0.9568 MB / 0.5204 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.3669, allocations: 8.487 MB / 0.5287 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.367, allocations: 7.953 kB / 0.5287 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006822/0.3677, allocations: 396 kB / 0.5291 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003714/0.3681, allocations: 0.5669 MB / 0.5297 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009623/0.3777, allocations: 4.708 MB / 0.5343 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2919/0.6696, allocations: 41.83 MB / 0.5751 GB, free: 77.14 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006976/0.6766, allocations: 6.696 MB / 0.5817 GB, free: 76.76 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.6784, allocations: 1.54 MB / 0.5832 GB, free: 76.7 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.6787, allocations: 143.9 kB / 0.5833 GB, free: 76.7 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.6787, allocations: 87.08 kB / 0.5834 GB, free: 76.65 MB / 394.8 MB Notification: Performance of pre-optimization done (n=447): time 5.78e-06/0.6787, allocations: 1.641 kB / 0.5834 GB, free: 76.65 MB / 394.8 MB Notification: Performance of matching and sorting (n=452): time 0.02316/0.7019, allocations: 12.78 MB / 0.5959 GB, free: 72.92 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.7019, allocations: 98.67 kB / 0.596 GB, free: 72.86 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.7056, allocations: 3.889 MB / 0.5998 GB, free: 69.48 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.7058, allocations: 97.7 kB / 0.5998 GB, free: 69.38 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.7072, allocations: 4.607 MB / 0.6043 GB, free: 65.43 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.7079, allocations: 1.646 MB / 0.606 GB, free: 63.93 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.709, allocations: 1.332 MB / 0.6073 GB, free: 62.58 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.709, allocations: 480.8 kB / 0.6077 GB, free: 62.11 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.7104, allocations: 0.9685 MB / 0.6087 GB, free: 61.14 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.7126, allocations: 4.204 MB / 0.6128 GB, free: 55.63 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/0.7168, allocations: 5.762 MB / 0.6184 GB, free: 48.82 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/0.7169, allocations: 20 kB / 0.6184 GB, free: 48.8 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.006835/0.7237, allocations: 5.74 MB / 0.624 GB, free: 43.52 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.7237, allocations: 32 kB / 0.624 GB, free: 43.49 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/0.7238, allocations: 72 kB / 0.6241 GB, free: 43.42 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.726, allocations: 1.275 MB / 0.6254 GB, free: 42.14 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.7284, allocations: 1.393 MB / 0.6267 GB, free: 40.85 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.7356, allocations: 8.764 MB / 0.6353 GB, free: 31.91 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.7377, allocations: 345.4 kB / 0.6356 GB, free: 31.57 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.7379, allocations: 300 kB / 0.6359 GB, free: 31.28 MB / 394.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.001701/0.7396, allocations: 0.5591 MB / 0.6364 GB, free: 30.8 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.7402, allocations: 0.5948 MB / 0.637 GB, free: 30.21 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.7462, allocations: 5.45 MB / 0.6423 GB, free: 24.73 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003888/0.7501, allocations: 2.992 MB / 0.6453 GB, free: 21.77 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7501, allocations: 12 kB / 0.6453 GB, free: 21.75 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.7501, allocations: 27.91 kB / 0.6453 GB, free: 21.73 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.7636, allocations: 12.06 MB / 0.6571 GB, free: 9.695 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.7636, allocations: 15.97 kB / 0.6571 GB, free: 9.68 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.7652, allocations: 0.8066 MB / 0.6579 GB, free: 8.914 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.7672, allocations: 1.164 MB / 0.659 GB, free: 7.754 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.7674, allocations: 112 kB / 0.6591 GB, free: 7.645 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006385/0.7737, allocations: 8.263 MB / 0.6672 GB, free: 15.18 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.7737, allocations: 14.19 kB / 0.6672 GB, free: 15.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/0.781, allocations: 5.393 MB / 0.6725 GB, free: 9.645 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.7824, allocations: 0.9535 MB / 0.6734 GB, free: 8.688 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.7827, allocations: 88 kB / 0.6735 GB, free: 8.602 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.7838, allocations: 223.8 kB / 0.6737 GB, free: 8.383 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/0.7842, allocations: 358.1 kB / 0.6741 GB, free: 8.039 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.7844, allocations: 140 kB / 0.6742 GB, free: 7.902 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00204/0.7864, allocations: 1.857 MB / 0.676 GB, free: 6.066 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.7864, allocations: 0 / 0.676 GB, free: 6.066 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004005/0.7904, allocations: 1.722 MB / 0.6777 GB, free: 4.348 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.00102/0.7914, allocations: 0.5187 MB / 0.6782 GB, free: 4.023 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005946/0.7974, allocations: 4.645 MB / 0.6827 GB, free: 15.57 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7974, allocations: 4 kB / 0.6827 GB, free: 15.56 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.8003, allocations: 2.545 MB / 0.6852 GB, free: 13.08 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.8026, allocations: 0.9855 MB / 0.6862 GB, free: 12.14 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.8188, allocations: 15.04 MB / 0.7009 GB, free: 12.89 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.8207, allocations: 2.747 MB / 0.7035 GB, free: 10.11 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002804/0.8235, allocations: 1.774 MB / 0.7053 GB, free: 8.332 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/0.8243, allocations: 395.3 kB / 0.7057 GB, free: 7.949 MB / 442.8 MB Notification: Performance of SimCode: time 1.032e-06/0.8243, allocations: 0 / 0.7057 GB, free: 7.949 MB / 442.8 MB Notification: Performance of Templates: time 0.2046/1.029, allocations: 66.28 MB / 0.7704 GB, free: 96.62 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.098695343825966]