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.001047/0.001047, allocations: 92.2 kB / 20.19 MB, free: 4.359 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 1.069/1.069, allocations: 177.2 MB / 200.5 MB, free: 5.496 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: 164.6 kB / 257 MB, free: 13.02 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.03051/0.03051, allocations: 6.66 MB / 320.1 MB, free: 26.59 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.503e-06/1.503e-06, allocations: 0 / 391.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.759e-05, allocations: 2.312 kB / 391.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.1683/0.1683, allocations: 23.96 MB / 415.6 MB, free: 69.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.1837, allocations: 8.12 MB / 423.7 MB, free: 67.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.1875, allocations: 213.2 kB / 424 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.1978, allocations: 8.856 MB / 432.8 MB, free: 62.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.2055, allocations: 3.16 MB / 436 MB, free: 60.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.2092, allocations: 1.835 MB / 437.8 MB, free: 58.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00946/0.2186, allocations: 11.71 MB / 449.5 MB, free: 49.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01516/0.2338, allocations: 14.52 MB / 464 MB, free: 34.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009566/0.2434, allocations: 8.971 MB / 473 MB, free: 26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006354/0.2497, allocations: 6.223 MB / 479.2 MB, free: 19.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002774/0.2525, allocations: 1.715 MB / 480.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.2555, allocations: 2.159 MB / 483.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.2573, allocations: 3.526 MB / 486.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005813/0.2631, allocations: 4.285 MB / 490.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.2735, allocations: 10.88 MB / 0.49 GB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2735, allocations: 3.938 kB / 0.49 GB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2735, allocations: 0 / 0.49 GB, free: 13.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003845/0.2739, allocations: 4 kB / 0.49 GB, free: 13.14 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.02235/0.2962, allocations: 14.39 MB / 0.5041 GB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2963, allocations: 8.031 kB / 0.5041 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02181/0.3181, allocations: 7.841 MB / 0.5118 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.3288, allocations: 7.007 MB / 0.5186 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/0.3292, allocations: 0.7146 MB / 0.5193 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/0.3308, allocations: 0.9491 MB / 0.5202 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.3458, allocations: 8.491 MB / 0.5285 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.3459, allocations: 7.953 kB / 0.5285 GB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008944/0.3468, allocations: 404 kB / 0.5289 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003796/0.3472, allocations: 0.563 MB / 0.5295 GB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009877/0.3571, allocations: 4.711 MB / 0.5341 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3172/0.6743, allocations: 41.81 MB / 0.5749 GB, free: 103.3 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008527/0.6828, allocations: 6.706 MB / 0.5814 GB, free: 101.8 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/0.6851, allocations: 1.54 MB / 0.5829 GB, free: 101.5 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.6854, allocations: 145.3 kB / 0.5831 GB, free: 101.5 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.6855, allocations: 79.42 kB / 0.5832 GB, free: 101.4 MB / 394.8 MB Notification: Performance of pre-optimization done (n=447): time 6.272e-06/0.6855, allocations: 6.906 kB / 0.5832 GB, free: 101.4 MB / 394.8 MB Notification: Performance of matching and sorting (n=452): time 0.02599/0.7115, allocations: 12.79 MB / 0.5957 GB, free: 94.27 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.7115, allocations: 98.95 kB / 0.5957 GB, free: 94.16 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/0.7156, allocations: 3.888 MB / 0.5995 GB, free: 90.38 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004482/0.7161, allocations: 97.7 kB / 0.5996 GB, free: 90.28 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.7179, allocations: 4.609 MB / 0.6041 GB, free: 86.25 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.719, allocations: 1.641 MB / 0.6057 GB, free: 84.62 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.7204, allocations: 1.332 MB / 0.607 GB, free: 83.28 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.7204, allocations: 484.7 kB / 0.6075 GB, free: 82.8 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.7221, allocations: 0.9763 MB / 0.6085 GB, free: 81.82 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.7245, allocations: 4.196 MB / 0.6126 GB, free: 76.29 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004736/0.7293, allocations: 5.765 MB / 0.6182 GB, free: 69.2 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-05/0.7293, allocations: 20 kB / 0.6182 GB, free: 69.18 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008051/0.7374, allocations: 5.732 MB / 0.6238 GB, free: 63.42 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.7374, allocations: 39.94 kB / 0.6238 GB, free: 63.38 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.885e-05/0.7375, allocations: 68 kB / 0.6239 GB, free: 63.32 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/0.74, allocations: 1.279 MB / 0.6252 GB, free: 62.03 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.7429, allocations: 1.4 MB / 0.6265 GB, free: 60.63 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007875/0.7508, allocations: 8.754 MB / 0.6351 GB, free: 51.65 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.7541, allocations: 347.6 kB / 0.6354 GB, free: 51.31 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006351/0.7548, allocations: 300 kB / 0.6357 GB, free: 51.02 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.002465/0.7572, allocations: 0.5452 MB / 0.6362 GB, free: 50.46 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009783/0.7582, allocations: 0.5947 MB / 0.6368 GB, free: 49.86 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/0.7651, allocations: 5.465 MB / 0.6421 GB, free: 44.33 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004229/0.7693, allocations: 2.99 MB / 0.6451 GB, free: 41.32 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.7693, allocations: 12 kB / 0.6451 GB, free: 41.31 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/0.7694, allocations: 19.92 kB / 0.6451 GB, free: 41.29 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.7866, allocations: 12.07 MB / 0.6569 GB, free: 29.12 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.7866, allocations: 10.95 kB / 0.6569 GB, free: 29.12 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.7883, allocations: 0.8074 MB / 0.6577 GB, free: 28.31 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.7908, allocations: 1.165 MB / 0.6588 GB, free: 27.14 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003447/0.7912, allocations: 115.9 kB / 0.6589 GB, free: 27.03 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00683/0.798, allocations: 8.271 MB / 0.667 GB, free: 18.54 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.798, allocations: 15.88 kB / 0.667 GB, free: 18.52 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007713/0.8057, allocations: 5.399 MB / 0.6723 GB, free: 12.94 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/0.8076, allocations: 0.9496 MB / 0.6732 GB, free: 11.98 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/0.808, allocations: 91.98 kB / 0.6733 GB, free: 11.89 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.8092, allocations: 219.8 kB / 0.6735 GB, free: 11.68 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/0.8098, allocations: 351.2 kB / 0.6738 GB, free: 11.34 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.81, allocations: 144 kB / 0.674 GB, free: 11.2 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002275/0.8122, allocations: 1.861 MB / 0.6758 GB, free: 9.355 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/0.8122, allocations: 0 / 0.6758 GB, free: 9.355 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004795/0.817, allocations: 1.715 MB / 0.6775 GB, free: 7.641 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.001202/0.8182, allocations: 0.5189 MB / 0.678 GB, free: 7.273 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00656/0.8248, allocations: 4.645 MB / 0.6825 GB, free: 2.586 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.8248, allocations: 0 / 0.6825 GB, free: 2.586 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/0.8281, allocations: 2.546 MB / 0.685 GB, free: 4 kB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/0.8318, allocations: 0.9899 MB / 0.686 GB, free: 15.06 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.156/0.9878, allocations: 15.04 MB / 0.7007 GB, free: 125 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006362/0.9941, allocations: 2.747 MB / 0.7033 GB, free: 124.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004589/0.9987, allocations: 1.769 MB / 0.7051 GB, free: 124.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.9998, allocations: 393.5 kB / 0.7054 GB, free: 124.6 MB / 410.8 MB Notification: Performance of SimCode: time 2.334e-06/0.9998, allocations: 0 / 0.7054 GB, free: 124.6 MB / 410.8 MB Notification: Performance of Templates: time 0.08523/1.085, allocations: 66.28 MB / 0.7702 GB, free: 75.94 MB / 410.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.324678442906588]