Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.001406/0.001406, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.041/1.041, allocations: 177.1 MB / 201 MB, free: 5.684 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.001379/0.001379, allocations: 155.6 kB / 257.7 MB, free: 12.95 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.03441/0.03441, allocations: 6.651 MB / 320.9 MB, free: 26.37 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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 392.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.058e-05, allocations: 2.312 kB / 392.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01128/0.0113, allocations: 13.19 MB / 406.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00701/0.01831, allocations: 4.505 MB / 410.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.01941, allocations: 107.3 kB / 410.7 MB, free: 412 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1486/0.168, allocations: 1.04 MB / 411.7 MB, free: 69.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.1729, allocations: 1.334 MB / 413 MB, free: 69.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1749, allocations: 0.8875 MB / 413.9 MB, free: 69.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004874/0.1798, allocations: 4.279 MB / 418.2 MB, free: 68.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.1825, allocations: 1.903 MB / 420.1 MB, free: 68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.1863, allocations: 2.95 MB / 423.1 MB, free: 66.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.1891, allocations: 2.008 MB / 425.1 MB, free: 66.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.1902, allocations: 0.5209 MB / 425.6 MB, free: 66.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1914, allocations: 0.7285 MB / 426.3 MB, free: 66.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007006/0.1921, allocations: 1.187 MB / 427.5 MB, free: 65.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.1939, allocations: 1.499 MB / 429 MB, free: 64.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.1972, allocations: 3.556 MB / 432.6 MB, free: 62.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1972, allocations: 1 kB / 432.6 MB, free: 62.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1972, allocations: 0 / 432.6 MB, free: 62.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.1974, allocations: 0 / 432.6 MB, free: 62.67 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.005892/0.2032, allocations: 4.596 MB / 437.2 MB, free: 58.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2033, allocations: 8.844 kB / 437.2 MB, free: 58.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.2059, allocations: 1.178 MB / 438.3 MB, free: 57.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/0.2097, allocations: 2.262 MB / 440.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2099, allocations: 248.2 kB / 440.8 MB, free: 55.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000442/0.2103, allocations: 341.3 kB / 441.2 MB, free: 54.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00372/0.214, allocations: 2.472 MB / 443.6 MB, free: 52.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/0.2141, allocations: 0 / 443.6 MB, free: 52.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/0.2144, allocations: 142.8 kB / 443.8 MB, free: 52.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.2145, allocations: 162.7 kB / 443.9 MB, free: 52.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.2166, allocations: 0.9642 MB / 444.9 MB, free: 51.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.2301, allocations: 11.31 MB / 456.2 MB, free: 40.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.233, allocations: 1.677 MB / 457.9 MB, free: 38.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008628/0.2338, allocations: 0.5691 MB / 458.5 MB, free: 38.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003389/0.2372, allocations: 2.134 MB / 460.6 MB, free: 36.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2372, allocations: 53.77 kB / 460.7 MB, free: 36.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.845e-06/0.2372, allocations: 0 / 460.7 MB, free: 36.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.00461/0.2418, allocations: 2.586 MB / 463.2 MB, free: 33.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.2419, allocations: 64.41 kB / 463.3 MB, free: 33.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.2427, allocations: 1.326 MB / 464.6 MB, free: 32.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.2427, allocations: 45.7 kB / 464.7 MB, free: 32.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.2432, allocations: 1.642 MB / 466.3 MB, free: 30.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.2434, allocations: 445.2 kB / 466.7 MB, free: 30.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.2437, allocations: 324.3 kB / 467.1 MB, free: 29.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.2437, allocations: 476.8 kB / 467.5 MB, free: 29.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.2439, allocations: 171.8 kB / 467.7 MB, free: 29.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.2443, allocations: 0.9308 MB / 468.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.245, allocations: 1.223 MB / 469.9 MB, free: 26.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.245, allocations: 7.938 kB / 469.9 MB, free: 26.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00118/0.2462, allocations: 1.25 MB / 471.1 MB, free: 25.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2462, allocations: 12.03 kB / 471.1 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2462, allocations: 27.92 kB / 471.1 MB, free: 25.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.2464, allocations: 108.9 kB / 471.3 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.2471, allocations: 378.2 kB / 471.6 MB, free: 25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.2483, allocations: 3.861 MB / 475.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.2487, allocations: 63.59 kB / 475.5 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.2488, allocations: 63.98 kB / 475.6 MB, free: 20.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005459/0.2494, allocations: 255 kB / 475.9 MB, free: 20.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.2495, allocations: 211 kB / 476.1 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.2508, allocations: 1.091 MB / 477.2 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2508, allocations: 12 kB / 477.2 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2508, allocations: 8 kB / 477.2 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.2508, allocations: 3.984 kB / 477.2 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.2537, allocations: 2.716 MB / 479.9 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2537, allocations: 3.375 kB / 479.9 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.254, allocations: 146.8 kB / 480 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/0.2547, allocations: 380.3 kB / 480.4 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.2548, allocations: 39.98 kB / 480.5 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.2589, allocations: 11.21 MB / 491.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2589, allocations: 0 / 491.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.2604, allocations: 1.48 MB / 493.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.2607, allocations: 274.8 kB / 493.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2608, allocations: 35.98 kB / 493.4 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.2612, allocations: 47.98 kB / 493.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2613, allocations: 96.8 kB / 493.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.2614, allocations: 35.27 kB / 493.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004622/0.2618, allocations: 0.7023 MB / 494.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2618, allocations: 0 / 494.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001328/0.2632, allocations: 0.5468 MB / 494.9 MB, free: 1.387 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/0.2634, allocations: 160.5 kB / 495 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.2644, allocations: 1.112 MB / 496.1 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2644, allocations: 4 kB / 496.1 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.2655, allocations: 1.431 MB / 497.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.2667, allocations: 458.4 kB / 498 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/0.2727, allocations: 4.981 MB / 0.4912 GB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.2734, allocations: 0.8105 MB / 0.492 GB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.274, allocations: 238.8 kB / 0.4922 GB, free: 8.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/0.2748, allocations: 0.4979 MB / 0.4927 GB, free: 7.645 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2748, allocations: 0 / 0.4927 GB, free: 7.645 MB / 346.7 MB Notification: Performance of Templates: time 0.03784/0.3126, allocations: 27.95 MB / 0.52 GB, free: 12.17 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8316950788721442]