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.001032/0.001032, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 0.956/0.956, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001199/0.001199, allocations: 163.3 kB / 257 MB, free: 12.82 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.02441/0.02441, allocations: 6.655 MB / 266.9 MB, free: 3.066 MB / 250.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.603e-06/1.603e-06, allocations: 0 / 285.7 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.058e-05, allocations: 6.312 kB / 285.7 MB, free: 292 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.1374/0.1374, allocations: 13.22 MB / 298.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008579/0.146, allocations: 4.684 MB / 303.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1473, allocations: 110.2 kB / 303.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.149, allocations: 1.071 MB / 304.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.1512, allocations: 1.331 MB / 306.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1523, allocations: 0.9014 MB / 307 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.155, allocations: 4.277 MB / 311.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1565, allocations: 1.965 MB / 313.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.1588, allocations: 2.943 MB / 316.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.1608, allocations: 2.016 MB / 318.2 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008689/0.1617, allocations: 0.5273 MB / 318.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009716/0.1626, allocations: 0.7378 MB / 319.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007573/0.1634, allocations: 1.192 MB / 320.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.1648, allocations: 1.501 MB / 322.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.1677, allocations: 3.555 MB / 325.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1677, allocations: 0 / 325.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1677, allocations: 0 / 325.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.1677, allocations: 0 / 325.7 MB, free: 6.34 MB / 282.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.00462/0.1723, allocations: 4.332 MB / 330.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1723, allocations: 8.031 kB / 330.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.1752, allocations: 1.124 MB / 331.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.1771, allocations: 1.486 MB / 332.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.1773, allocations: 252.3 kB / 332.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.1776, allocations: 344.2 kB / 333.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.1801, allocations: 2.535 MB / 335.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.1802, allocations: 7.953 kB / 335.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.1804, allocations: 140 kB / 335.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.1805, allocations: 154.7 kB / 336.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.1819, allocations: 0.9902 MB / 337.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009225/0.1912, allocations: 9.006 MB / 346.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.1931, allocations: 1.547 MB / 347.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.1937, allocations: 0.5095 MB / 348.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/0.1958, allocations: 1.69 MB / 349.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1959, allocations: 47.56 kB / 349.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 2.315e-06/0.1959, allocations: 0 / 349.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.003863/0.1997, allocations: 2.385 MB / 352.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1998, allocations: 68.39 kB / 352.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.2006, allocations: 1.116 MB / 353.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.2006, allocations: 45.7 kB / 353.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.2012, allocations: 1.342 MB / 354.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.2014, allocations: 444.2 kB / 355.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.2016, allocations: 283.3 kB / 355.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.2017, allocations: 301.1 kB / 355.8 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.2019, allocations: 178.7 kB / 356 MB, free: 7.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.2024, allocations: 0.6913 MB / 356.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009042/0.2033, allocations: 1.007 MB / 357.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.2033, allocations: 4 kB / 357.7 MB, free: 5.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001076/0.2043, allocations: 0.9904 MB / 358.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2044, allocations: 15.94 kB / 358.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2044, allocations: 16 kB / 358.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.2046, allocations: 98.88 kB / 358.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.2058, allocations: 431.3 kB / 359.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.2071, allocations: 2.767 MB / 362 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.2076, allocations: 59.94 kB / 362.1 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.2076, allocations: 56 kB / 362.1 MB, free: 0.5938 MB / 314.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.0004576/0.2081, allocations: 216.2 kB / 362.3 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.2083, allocations: 139.8 kB / 362.5 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.2094, allocations: 0.9195 MB / 363.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.2094, allocations: 12 kB / 363.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2094, allocations: 7.938 kB / 363.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2094, allocations: 7.969 kB / 363.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.2118, allocations: 2.055 MB / 365.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2118, allocations: 4 kB / 365.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.2122, allocations: 164 kB / 365.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006264/0.2129, allocations: 344.9 kB / 366 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.2129, allocations: 31.98 kB / 366 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.2181, allocations: 8.247 MB / 374.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2181, allocations: 0 / 374.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.2194, allocations: 1.221 MB / 375.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.2197, allocations: 182.8 kB / 375.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2198, allocations: 35.98 kB / 375.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.2201, allocations: 43.98 kB / 375.7 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.2203, allocations: 100.8 kB / 375.8 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.2204, allocations: 23.98 kB / 375.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004391/0.2208, allocations: 0.5377 MB / 376.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2208, allocations: 0 / 376.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001239/0.222, allocations: 0.5507 MB / 377 MB, free: 1.152 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.0002329/0.2223, allocations: 148.1 kB / 377.1 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009441/0.2232, allocations: 0.9246 MB / 378 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.859e-05/0.2232, allocations: 23.25 kB / 378 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.2241, allocations: 1.107 MB / 379.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.2251, allocations: 472.2 kB / 379.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.2305, allocations: 4.786 MB / 384.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.231, allocations: 0.6388 MB / 385 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005312/0.2316, allocations: 238.9 kB / 385.3 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.2322, allocations: 451.1 kB / 385.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2322, allocations: 0 / 385.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of Templates: time 0.03576/0.268, allocations: 27.7 MB / 413.4 MB, free: 12.94 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3413104470819235]