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.001122/0.001122, allocations: 93.06 kB / 19.65 MB, free: 280 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.013/1.013, allocations: 177.2 MB / 200 MB, free: 5.516 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.001322/0.001322, allocations: 164.6 kB / 256.6 MB, free: 12.98 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.02865/0.02865, allocations: 6.66 MB / 319.8 MB, free: 26.53 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.673e-06/1.673e-06, allocations: 0 / 391.7 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.495e-05, allocations: 2.312 kB / 391.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0126/0.01262, allocations: 13.57 MB / 405.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00872/0.02134, allocations: 4.54 MB / 409.8 MB, free: 384 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.02311, allocations: 107.3 kB / 409.9 MB, free: 276 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1609/0.184, allocations: 1.043 MB / 410.9 MB, free: 69.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.1886, allocations: 1.339 MB / 412.3 MB, free: 69.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.1908, allocations: 0.9044 MB / 413.2 MB, free: 69.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005029/0.1958, allocations: 4.273 MB / 417.4 MB, free: 68.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.1985, allocations: 1.906 MB / 419.3 MB, free: 67.74 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.2029, allocations: 2.944 MB / 422.3 MB, free: 66.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.2058, allocations: 1.998 MB / 424.3 MB, free: 65.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.207, allocations: 0.5214 MB / 424.8 MB, free: 65.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2083, allocations: 0.7354 MB / 425.5 MB, free: 65.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.209, allocations: 1.194 MB / 426.7 MB, free: 65.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.2107, allocations: 1.496 MB / 428.2 MB, free: 64.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.2138, allocations: 3.557 MB / 431.8 MB, free: 62.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2138, allocations: 0 / 431.8 MB, free: 62.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2138, allocations: 0.6875 kB / 431.8 MB, free: 62.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.802e-05/0.2138, allocations: 0 / 431.8 MB, free: 62.37 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.005562/0.2194, allocations: 4.711 MB / 436.5 MB, free: 58.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2195, allocations: 12.03 kB / 436.5 MB, free: 58.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.2228, allocations: 1.255 MB / 437.8 MB, free: 57.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.2256, allocations: 2.362 MB / 440.1 MB, free: 54.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2258, allocations: 249.3 kB / 440.4 MB, free: 54.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.2262, allocations: 335.5 kB / 440.7 MB, free: 54.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004127/0.2303, allocations: 2.688 MB / 443.4 MB, free: 51.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.2303, allocations: 7.984 kB / 443.4 MB, free: 51.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.2306, allocations: 138.8 kB / 443.5 MB, free: 51.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.2307, allocations: 154.7 kB / 443.7 MB, free: 51.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.2336, allocations: 1.262 MB / 444.9 MB, free: 50.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.2456, allocations: 11.34 MB / 456.3 MB, free: 38.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.2485, allocations: 1.825 MB / 458.1 MB, free: 37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009956/0.2495, allocations: 0.6405 MB / 458.7 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002907/0.2524, allocations: 2.19 MB / 460.9 MB, free: 34.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2525, allocations: 50.38 kB / 461 MB, free: 34.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 3.226e-06/0.2525, allocations: 0 / 461 MB, free: 34.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.005675/0.2581, allocations: 3.164 MB / 464.1 MB, free: 30.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2582, allocations: 64.41 kB / 464.2 MB, free: 30.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.2595, allocations: 1.35 MB / 465.6 MB, free: 29.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.2596, allocations: 49.69 kB / 465.6 MB, free: 29.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.2602, allocations: 1.625 MB / 467.2 MB, free: 27.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.2604, allocations: 455.7 kB / 467.7 MB, free: 27.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.2608, allocations: 309.1 kB / 468 MB, free: 27.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.2608, allocations: 480.8 kB / 468.4 MB, free: 26.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.2612, allocations: 223.8 kB / 468.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.2619, allocations: 0.9779 MB / 469.6 MB, free: 25.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2631, allocations: 1.301 MB / 470.9 MB, free: 23.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.2631, allocations: 4 kB / 470.9 MB, free: 23.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001835/0.265, allocations: 1.371 MB / 472.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.265, allocations: 17.44 kB / 472.3 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.265, allocations: 23.94 kB / 472.4 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.2653, allocations: 107 kB / 472.5 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/0.2663, allocations: 390.8 kB / 472.8 MB, free: 21.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2677, allocations: 3.92 MB / 476.8 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.2683, allocations: 63.92 kB / 476.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/0.2684, allocations: 68 kB / 476.9 MB, free: 17.49 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.0005495/0.269, allocations: 271 kB / 477.2 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.2691, allocations: 206.9 kB / 477.4 MB, free: 17.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.2705, allocations: 1.178 MB / 478.5 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2705, allocations: 16 kB / 478.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2705, allocations: 8 kB / 478.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2705, allocations: 3.984 kB / 478.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.2737, allocations: 3.365 MB / 481.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2737, allocations: 0 / 481.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.2741, allocations: 161.9 kB / 482.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006893/0.2748, allocations: 397.2 kB / 482.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.2748, allocations: 35.98 kB / 482.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.279, allocations: 11.44 MB / 494 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.279, allocations: 4 kB / 494 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.281, allocations: 1.595 MB / 495.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.2813, allocations: 302.9 kB / 495.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2815, allocations: 39.94 kB / 495.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.2818, allocations: 59.95 kB / 495.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.282, allocations: 96.28 kB / 496 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.282, allocations: 35.98 kB / 496.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000733/0.2828, allocations: 0.7637 MB / 496.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2828, allocations: 0 / 496.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001342/0.2841, allocations: 0.5469 MB / 497.4 MB, free: 12.4 MB / 346.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.0002481/0.2844, allocations: 163.5 kB / 497.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2859, allocations: 1.201 MB / 498.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2859, allocations: 0 / 498.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.287, allocations: 1.468 MB / 0.4885 GB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.2881, allocations: 466.6 kB / 0.4889 GB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.2942, allocations: 5.002 MB / 0.4938 GB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.2948, allocations: 0.8145 MB / 0.4946 GB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006079/0.2954, allocations: 322.6 kB / 0.4949 GB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.2956, allocations: 116.5 kB / 0.495 GB, free: 2.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2956, allocations: 0 / 0.495 GB, free: 2.75 MB / 346.7 MB Notification: Performance of Templates: time 0.03957/0.3352, allocations: 26.98 MB / 0.5214 GB, free: 8.211 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.877839094027877]