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.001509/0.001509, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 253.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 178] 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.001729/0.001729, allocations: 205.2 kB / 310 MB, free: 3.156 MB / 238.1 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.04052/0.04052, allocations: 8.917 MB / 375.3 MB, free: 1.91 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 79.88 kB / 0.4905 GB, free: 6.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3698, allocations: 55.61 MB / 0.5448 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01272/0.3825, allocations: 13.9 MB / 0.5583 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008999/0.3915, allocations: 4.626 MB / 0.5628 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.3944, allocations: 111 kB / 0.563 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.3973, allocations: 1.093 MB / 0.564 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.4015, allocations: 1.314 MB / 0.5653 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.4038, allocations: 0.9398 MB / 0.5662 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005474/0.4093, allocations: 4.089 MB / 0.5702 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.4122, allocations: 1.968 MB / 0.5721 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.4164, allocations: 1.984 MB / 0.5741 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.4211, allocations: 2.288 MB / 0.5763 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.4221, allocations: 0.5251 MB / 0.5768 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.4244, allocations: 0.7532 MB / 0.5776 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.4254, allocations: 1.152 MB / 0.5787 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.4284, allocations: 2.186 MB / 0.5808 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009068/0.4375, allocations: 6.955 MB / 0.5876 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4375, allocations: 0 / 0.5876 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4375, allocations: 0 / 0.5876 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.4377, allocations: 0 / 0.5876 GB, free: 15.27 MB / 398.1 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.01445/0.4521, allocations: 4.495 MB / 0.592 GB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4522, allocations: 10.19 kB / 0.592 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.4567, allocations: 0.8266 MB / 0.5928 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/0.4624, allocations: 2.438 MB / 0.5952 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.4626, allocations: 255.1 kB / 0.5954 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006162/0.4633, allocations: 335.9 kB / 0.5958 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008962/0.4722, allocations: 4.511 MB / 0.6002 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-05/0.4723, allocations: 7.891 kB / 0.6002 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.4726, allocations: 136 kB / 0.6003 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.4728, allocations: 158.7 kB / 0.6005 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007376/0.4802, allocations: 3.817 MB / 0.6042 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.5051, allocations: 13.81 MB / 0.6177 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.5103, allocations: 2.414 MB / 0.62 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.5125, allocations: 1.112 MB / 0.6211 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006934/0.5194, allocations: 3.131 MB / 0.6242 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.5195, allocations: 51.56 kB / 0.6242 GB, free: 11.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.076e-06/0.5195, allocations: 0 / 0.6242 GB, free: 11.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01084/0.5303, allocations: 4.672 MB / 0.6288 GB, free: 6.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.5304, allocations: 68.39 kB / 0.6289 GB, free: 6.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.5331, allocations: 1.703 MB / 0.6305 GB, free: 4.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.5332, allocations: 45.7 kB / 0.6306 GB, free: 4.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.5345, allocations: 1.547 MB / 0.6321 GB, free: 2.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.535, allocations: 440.3 kB / 0.6325 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/0.5354, allocations: 287.5 kB / 0.6328 GB, free: 2.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5356, allocations: 301.1 kB / 0.6331 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.5366, allocations: 0.6286 MB / 0.6337 GB, free: 1.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.5382, allocations: 1.135 MB / 0.6348 GB, free: 15.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.5409, allocations: 1.88 MB / 0.6366 GB, free: 13.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.5409, allocations: 4 kB / 0.6366 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00376/0.5447, allocations: 2.127 MB / 0.6387 GB, free: 11.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.5447, allocations: 12 kB / 0.6387 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.5447, allocations: 16.38 kB / 0.6387 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.5451, allocations: 138.5 kB / 0.6388 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.5466, allocations: 395.4 kB / 0.6392 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.5497, allocations: 3.177 MB / 0.6423 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.5511, allocations: 67.97 kB / 0.6424 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5512, allocations: 71.98 kB / 0.6425 GB, free: 7.59 MB / 446.1 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.002301/0.5535, allocations: 1.042 MB / 0.6435 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5539, allocations: 190.8 kB / 0.6437 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.5576, allocations: 1.88 MB / 0.6455 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5576, allocations: 12 kB / 0.6455 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5576, allocations: 15.94 kB / 0.6455 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.5576, allocations: 3.984 kB / 0.6455 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008357/0.566, allocations: 4.623 MB / 0.65 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.566, allocations: 4 kB / 0.65 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/0.5667, allocations: 167.7 kB / 0.6502 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.568, allocations: 448.1 kB / 0.6506 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.684e-05/0.5681, allocations: 31.98 kB / 0.6507 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.5793, allocations: 10.53 MB / 0.6609 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5793, allocations: 0 / 0.6609 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.5844, allocations: 2.731 MB / 0.6636 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.5855, allocations: 330.6 kB / 0.6639 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.5857, allocations: 35.98 kB / 0.664 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/0.5865, allocations: 59.95 kB / 0.664 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.5868, allocations: 104.8 kB / 0.6641 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.5868, allocations: 35.98 kB / 0.6642 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.5888, allocations: 1.167 MB / 0.6653 GB, free: 15.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5888, allocations: 0 / 0.6653 GB, free: 15.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00222/0.591, allocations: 0.5507 MB / 0.6658 GB, free: 14.9 MB / 478.1 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.0003466/0.5913, allocations: 159.4 kB / 0.666 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003033/0.5944, allocations: 1.695 MB / 0.6676 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5944, allocations: 4 kB / 0.6676 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.5966, allocations: 1.442 MB / 0.6691 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.5989, allocations: 0.5384 MB / 0.6696 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6096, allocations: 5.745 MB / 0.6752 GB, free: 5.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.612, allocations: 2.312 MB / 0.6774 GB, free: 2.836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.6126, allocations: 143.4 kB / 0.6776 GB, free: 2.695 MB / 478.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6126, allocations: 4 kB / 0.6776 GB, free: 2.691 MB / 478.1 MB Notification: Performance of Templates: time 0.423/1.036, allocations: 106.5 MB / 0.7815 GB, free: 55.89 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.490528030088171] Failed to read output from testmodel.py, exit status != 0: 1.0449027789290994 1.053920869 0.613901801 Calling exit ...