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.000926/0.000926, 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.9718/0.9718, allocations: 177.2 MB / 200.3 MB, free: 5.324 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.001327/0.001327, allocations: 159.2 kB / 257 MB, free: 12.77 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.02436/0.02436, allocations: 6.67 MB / 266.9 MB, free: 3.023 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.833e-06/1.833e-06, allocations: 0 / 285.6 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.704e-05, allocations: 6.25 kB / 285.7 MB, free: 300 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.1405/0.1405, allocations: 13.17 MB / 298.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009533/0.1501, allocations: 4.69 MB / 303.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.153, allocations: 109.3 kB / 303.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.1557, allocations: 1.062 MB / 304.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.16, allocations: 1.344 MB / 306 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1619, allocations: 0.9091 MB / 306.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004185/0.166, allocations: 4.286 MB / 311.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.1683, allocations: 1.961 MB / 313.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.1723, allocations: 2.947 MB / 316.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.176, allocations: 2.019 MB / 318.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.1772, allocations: 0.5195 MB / 318.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.179, allocations: 0.73 MB / 319.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008097/0.1798, allocations: 1.196 MB / 320.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.1823, allocations: 1.497 MB / 322.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004436/0.1867, allocations: 3.548 MB / 325.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1867, allocations: 3.938 kB / 325.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1867, allocations: 0 / 325.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001598/0.1869, allocations: 0 / 325.6 MB, free: 6.402 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.006877/0.1937, allocations: 4.332 MB / 330 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1938, allocations: 12.03 kB / 330 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.1966, allocations: 1.124 MB / 331.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.199, allocations: 1.488 MB / 332.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1991, allocations: 251.1 kB / 332.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.1994, allocations: 338.3 kB / 333.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.2024, allocations: 2.541 MB / 335.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.337e-05/0.2025, allocations: 0 / 335.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.2027, allocations: 140 kB / 335.9 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.2028, allocations: 154.7 kB / 336 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.2045, allocations: 0.9885 MB / 337 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.2151, allocations: 9.01 MB / 346 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.217, allocations: 1.549 MB / 347.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/0.2176, allocations: 0.5134 MB / 348.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00261/0.2202, allocations: 1.677 MB / 349.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2203, allocations: 47.56 kB / 349.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 2.435e-06/0.2203, allocations: 4 kB / 349.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.004065/0.2243, allocations: 2.393 MB / 352.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2244, allocations: 68.34 kB / 352.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.2255, allocations: 1.109 MB / 353.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.2255, allocations: 49.7 kB / 353.4 MB, free: 9.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.2261, allocations: 1.349 MB / 354.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.2263, allocations: 432.2 kB / 355.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.2265, allocations: 279.3 kB / 355.5 MB, free: 7.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.2266, allocations: 305.1 kB / 355.8 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.2268, allocations: 182.8 kB / 355.9 MB, free: 7.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.2273, allocations: 0.6952 MB / 356.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.2282, allocations: 1.003 MB / 357.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2282, allocations: 4 kB / 357.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001141/0.2294, allocations: 0.9943 MB / 358.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2294, allocations: 12 kB / 358.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2294, allocations: 16.38 kB / 358.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.2296, allocations: 98.52 kB / 358.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.2305, allocations: 379.4 kB / 359.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.2318, allocations: 2.763 MB / 361.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.2324, allocations: 48 kB / 361.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.2325, allocations: 59.98 kB / 362 MB, free: 0.7148 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.0006082/0.2331, allocations: 224 kB / 362.2 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2333, allocations: 131.9 kB / 362.3 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.2344, allocations: 0.9273 MB / 363.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2345, allocations: 12 kB / 363.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2345, allocations: 8 kB / 363.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2345, allocations: 7.969 kB / 363.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.2373, allocations: 2.055 MB / 365.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2373, allocations: 7.938 kB / 365.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.2377, allocations: 143.8 kB / 365.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006865/0.2384, allocations: 347.1 kB / 365.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/0.2384, allocations: 31.98 kB / 365.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.2443, allocations: 8.236 MB / 374.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2443, allocations: 0 / 374.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.2463, allocations: 1.221 MB / 375.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.2468, allocations: 178.9 kB / 375.5 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.2469, allocations: 24 kB / 375.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.2472, allocations: 51.97 kB / 375.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.2474, allocations: 108.7 kB / 375.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.2475, allocations: 27.98 kB / 375.7 MB, free: 2.379 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.248, allocations: 0.5377 MB / 376.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.248, allocations: 0 / 376.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001644/0.2496, allocations: 0.5468 MB / 376.8 MB, free: 1.293 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.000277/0.2499, allocations: 140.2 kB / 376.9 MB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.251, allocations: 0.933 MB / 377.9 MB, free: 192 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.188e-05/0.2511, allocations: 22.31 kB / 377.9 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009767/0.252, allocations: 1.108 MB / 379 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2531, allocations: 460.7 kB / 379.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/0.2601, allocations: 4.782 MB / 384.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.2606, allocations: 0.6427 MB / 384.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006561/0.2613, allocations: 238.8 kB / 385.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/0.2619, allocations: 447 kB / 385.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2619, allocations: 0 / 385.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of Templates: time 0.0394/0.3013, allocations: 27.45 MB / 413 MB, free: 13.34 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.3814111673273146]