Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.00149/0.00149, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.3 MB, free: 5.41 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.00128/0.00128, allocations: 151.4 kB / 256.9 MB, free: 12.84 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.0405/0.0405, allocations: 6.66 MB / 320.1 MB, free: 26.34 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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 392.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.264e-05, allocations: 6.25 kB / 392.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01199/0.01202, allocations: 13.21 MB / 405.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.02025, allocations: 4.509 MB / 409.8 MB, free: 456 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.02189, allocations: 111.3 kB / 409.9 MB, free: 344 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1613/0.1832, allocations: 1.036 MB / 411 MB, free: 69.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.1875, allocations: 1.34 MB / 412.3 MB, free: 69.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.1892, allocations: 0.8838 MB / 413.2 MB, free: 69.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004383/0.1936, allocations: 4.277 MB / 417.5 MB, free: 68.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.1964, allocations: 1.911 MB / 419.4 MB, free: 67.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.2005, allocations: 2.947 MB / 422.3 MB, free: 66.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.2035, allocations: 2.007 MB / 424.3 MB, free: 65.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.2048, allocations: 0.5216 MB / 424.9 MB, free: 65.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2062, allocations: 0.7286 MB / 425.6 MB, free: 65.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.2069, allocations: 1.194 MB / 426.8 MB, free: 65.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.2089, allocations: 1.493 MB / 428.3 MB, free: 64.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003566/0.2125, allocations: 3.557 MB / 431.8 MB, free: 62.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2125, allocations: 4 kB / 431.8 MB, free: 62.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2125, allocations: 0 / 431.8 MB, free: 62.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.2127, allocations: 0.5312 kB / 431.8 MB, free: 62.55 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.006057/0.2187, allocations: 4.601 MB / 436.4 MB, free: 58.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2188, allocations: 8.031 kB / 436.4 MB, free: 58.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.2219, allocations: 1.174 MB / 437.6 MB, free: 57.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.2246, allocations: 2.253 MB / 439.9 MB, free: 55.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.2247, allocations: 253.4 kB / 440.1 MB, free: 55.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.2251, allocations: 334.8 kB / 440.4 MB, free: 54.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/0.2285, allocations: 2.477 MB / 442.9 MB, free: 52.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/0.2285, allocations: 6.875 kB / 442.9 MB, free: 52.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.2288, allocations: 143.8 kB / 443.1 MB, free: 52.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.2289, allocations: 165.1 kB / 443.2 MB, free: 52.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.2308, allocations: 0.9666 MB / 444.2 MB, free: 51.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.243, allocations: 11.29 MB / 455.5 MB, free: 40.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.2454, allocations: 1.681 MB / 457.2 MB, free: 38.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.2462, allocations: 0.5697 MB / 457.7 MB, free: 38.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00282/0.249, allocations: 2.147 MB / 459.9 MB, free: 36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.249, allocations: 50.39 kB / 459.9 MB, free: 35.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 3.176e-06/0.249, allocations: 0 / 459.9 MB, free: 35.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.004547/0.2536, allocations: 2.597 MB / 462.5 MB, free: 33.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2536, allocations: 64.41 kB / 462.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.2547, allocations: 1.315 MB / 463.9 MB, free: 32.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.2548, allocations: 45.7 kB / 464 MB, free: 32.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.2555, allocations: 1.644 MB / 465.6 MB, free: 30.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.2557, allocations: 452.7 kB / 466 MB, free: 30.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.256, allocations: 317 kB / 466.3 MB, free: 29.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.2561, allocations: 480.8 kB / 466.8 MB, free: 29.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.2564, allocations: 167.8 kB / 467 MB, free: 29.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.2569, allocations: 0.9362 MB / 467.9 MB, free: 27.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/0.2579, allocations: 1.219 MB / 469.1 MB, free: 26.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.2579, allocations: 4 kB / 469.1 MB, free: 26.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001476/0.2594, allocations: 1.252 MB / 470.4 MB, free: 25.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2594, allocations: 12 kB / 470.4 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.2594, allocations: 19.94 kB / 470.4 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.2596, allocations: 110.8 kB / 470.5 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.2605, allocations: 382 kB / 470.9 MB, free: 24.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.2618, allocations: 3.868 MB / 474.8 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.2623, allocations: 55.94 kB / 474.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.2624, allocations: 59.98 kB / 474.9 MB, free: 20.71 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.0005177/0.2629, allocations: 263.5 kB / 475.1 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.2632, allocations: 202.9 kB / 475.3 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.2646, allocations: 1.097 MB / 476.4 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2646, allocations: 12 kB / 476.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.2646, allocations: 4 kB / 476.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.2646, allocations: 3.984 kB / 476.5 MB, free: 19.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.2679, allocations: 2.719 MB / 479.2 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2679, allocations: 1.125 kB / 479.2 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.2683, allocations: 150.7 kB / 479.3 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007739/0.2691, allocations: 387.9 kB / 479.7 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.2692, allocations: 35.98 kB / 479.7 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.2736, allocations: 11.21 MB / 490.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2737, allocations: 4 kB / 491 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.2754, allocations: 1.48 MB / 492.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.2757, allocations: 278.8 kB / 492.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2758, allocations: 31.98 kB / 492.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.2763, allocations: 47.98 kB / 492.8 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.2765, allocations: 104.2 kB / 492.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.2765, allocations: 27.98 kB / 492.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005606/0.2771, allocations: 0.7037 MB / 493.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2771, allocations: 0 / 493.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001463/0.2785, allocations: 0.5468 MB / 494.2 MB, free: 1.258 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.0002219/0.2787, allocations: 161 kB / 494.3 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2798, allocations: 1.12 MB / 495.4 MB, free: 20 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2798, allocations: 0 / 495.4 MB, free: 20 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2812, allocations: 1.436 MB / 496.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.2823, allocations: 465.1 kB / 497.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.2883, allocations: 4.973 MB / 0.4905 GB, free: 9.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.289, allocations: 0.8067 MB / 0.4913 GB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005321/0.2895, allocations: 238.8 kB / 0.4915 GB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.2902, allocations: 0.494 MB / 0.492 GB, free: 7.52 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2902, allocations: 0 / 0.492 GB, free: 7.52 MB / 346.7 MB Notification: Performance of Templates: time 0.03644/0.3266, allocations: 27.5 MB / 0.5189 GB, free: 12.55 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8450912730768323]