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.0008672/0.0008672, allocations: 80.75 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.9524/0.9524, allocations: 177.1 MB / 200.3 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.001119/0.001119, allocations: 152.6 kB / 257 MB, free: 12.97 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.02476/0.02476, allocations: 6.66 MB / 266.9 MB, free: 3.227 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_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.714e-06/1.714e-06, allocations: 0 / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.781e-05, allocations: 13.62 kB / 285.7 MB, free: 440 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.1402/0.1402, allocations: 13.24 MB / 298.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008415/0.1486, allocations: 4.683 MB / 303.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.1503, allocations: 109.2 kB / 303.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.1521, allocations: 1.076 MB / 304.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.1551, allocations: 1.335 MB / 306.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1567, allocations: 0.8918 MB / 307 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.1601, allocations: 4.299 MB / 311.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.1618, allocations: 1.95 MB / 313.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.1645, allocations: 2.955 MB / 316.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.1672, allocations: 2.015 MB / 318.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.1683, allocations: 0.5195 MB / 318.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1694, allocations: 0.7456 MB / 319.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008379/0.1702, allocations: 1.192 MB / 320.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.1719, allocations: 1.497 MB / 322.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.1754, allocations: 3.559 MB / 325.8 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1754, allocations: 0 / 325.8 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1754, allocations: 0 / 325.8 MB, free: 6.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.1755, allocations: 0 / 325.8 MB, free: 6.387 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.005771/0.1813, allocations: 4.328 MB / 330.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1813, allocations: 8.031 kB / 330.1 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.1843, allocations: 1.132 MB / 331.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.1863, allocations: 1.486 MB / 332.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1864, allocations: 254.9 kB / 333 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.1867, allocations: 336.3 kB / 333.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.1894, allocations: 2.535 MB / 335.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.1894, allocations: 7.891 kB / 335.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.1896, allocations: 136 kB / 336 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.1897, allocations: 162.7 kB / 336.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1912, allocations: 0.9807 MB / 337.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009817/0.201, allocations: 9.015 MB / 346.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.203, allocations: 1.54 MB / 347.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.2036, allocations: 0.5095 MB / 348.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/0.2058, allocations: 1.689 MB / 349.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2058, allocations: 47.56 kB / 349.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 1.823e-06/0.2058, allocations: 4 kB / 349.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.003599/0.2094, allocations: 2.389 MB / 352.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2094, allocations: 64.41 kB / 352.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2105, allocations: 1.112 MB / 353.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.2105, allocations: 53.7 kB / 353.5 MB, free: 9.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.2111, allocations: 1.342 MB / 354.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.2113, allocations: 432.2 kB / 355.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.2115, allocations: 279.3 kB / 355.6 MB, free: 7.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.2116, allocations: 313 kB / 355.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.2118, allocations: 178.8 kB / 356.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.2123, allocations: 0.6875 MB / 356.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.213, allocations: 1.007 MB / 357.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2131, allocations: 8 kB / 357.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001051/0.2141, allocations: 0.9904 MB / 358.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2141, allocations: 11.94 kB / 358.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2141, allocations: 20.36 kB / 358.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.2143, allocations: 94.53 kB / 358.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/0.2152, allocations: 431.3 kB / 359.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.2168, allocations: 2.763 MB / 362.1 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.2172, allocations: 59.94 kB / 362.1 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.2173, allocations: 52 kB / 362.2 MB, free: 0.6484 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.0004783/0.2178, allocations: 232.2 kB / 362.4 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.2179, allocations: 135.8 kB / 362.5 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.2191, allocations: 0.9156 MB / 363.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2191, allocations: 15.94 kB / 363.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2192, allocations: 15.92 kB / 363.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.2192, allocations: 3.984 kB / 363.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.2216, allocations: 2.051 MB / 365.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2216, allocations: 0 / 365.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.222, allocations: 168 kB / 365.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/0.2226, allocations: 342 kB / 366 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.2227, allocations: 35.97 kB / 366.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.2277, allocations: 8.251 MB / 374.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2277, allocations: 0 / 374.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.229, allocations: 1.225 MB / 375.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.2293, allocations: 182.8 kB / 375.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2294, allocations: 28 kB / 375.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.2297, allocations: 43.97 kB / 375.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.2299, allocations: 100.8 kB / 375.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.2299, allocations: 27.98 kB / 375.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004261/0.2304, allocations: 0.5494 MB / 376.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2304, allocations: 0 / 376.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001196/0.2315, allocations: 0.5468 MB / 377 MB, free: 1.184 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.0002231/0.2318, allocations: 140.2 kB / 377.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2328, allocations: 0.9256 MB / 378.1 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.011e-05/0.2328, allocations: 30.56 kB / 378.1 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.2337, allocations: 1.111 MB / 379.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.2347, allocations: 460.3 kB / 379.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005798/0.2405, allocations: 4.781 MB / 384.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.241, allocations: 0.6466 MB / 385.1 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.2416, allocations: 238.9 kB / 385.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000686/0.2423, allocations: 447.1 kB / 385.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2423, allocations: 0 / 385.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of Templates: time 0.03822/0.2805, allocations: 27.71 MB / 413.5 MB, free: 12.97 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.236093977931887]