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.001543/0.001543, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.508/1.508, allocations: 177.2 MB / 200.1 MB, free: 8.336 MB / 190.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.001914/0.001914, allocations: 168.9 kB / 256.6 MB, free: 4.285 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.04/0.04, allocations: 6.661 MB / 319.6 MB, free: 5.367 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.002489/0.002489, allocations: 83.88 kB / 446.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1627, allocations: 55.57 MB / 0.4903 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01715/0.1798, allocations: 12.07 MB / 0.502 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1908, allocations: 4.365 MB / 0.5063 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.1942, allocations: 111.3 kB / 0.5064 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.1974, allocations: 1.037 MB / 0.5074 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3441/0.5414, allocations: 1.278 MB / 0.5087 GB, free: 41.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.5448, allocations: 0.8909 MB / 0.5095 GB, free: 41.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008044/0.5529, allocations: 4.077 MB / 0.5135 GB, free: 41.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003381/0.5563, allocations: 1.894 MB / 0.5154 GB, free: 40.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.56, allocations: 1.998 MB / 0.5173 GB, free: 40.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.5631, allocations: 2.15 MB / 0.5194 GB, free: 39.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007905/0.5639, allocations: 0.5234 MB / 0.5199 GB, free: 39.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.5654, allocations: 0.7278 MB / 0.5207 GB, free: 39.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007833/0.5662, allocations: 1.153 MB / 0.5218 GB, free: 38.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.5684, allocations: 1.731 MB / 0.5235 GB, free: 38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.575, allocations: 6.97 MB / 0.5303 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.575, allocations: 3.375 kB / 0.5303 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.575, allocations: 0 / 0.5303 GB, free: 35.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.5751, allocations: 0 / 0.5303 GB, free: 35.65 MB / 430.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.01142/0.5865, allocations: 4.483 MB / 0.5347 GB, free: 33.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5866, allocations: 10.45 kB / 0.5347 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/0.5907, allocations: 0.8295 MB / 0.5355 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.5963, allocations: 2.416 MB / 0.5378 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.5965, allocations: 255.5 kB / 0.5381 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.5976, allocations: 333.1 kB / 0.5384 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008359/0.606, allocations: 4.666 MB / 0.543 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-05/0.606, allocations: 7.219 kB / 0.543 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.6063, allocations: 133.2 kB / 0.5431 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.6065, allocations: 159.3 kB / 0.5432 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0057/0.6122, allocations: 3.807 MB / 0.547 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.6299, allocations: 12.09 MB / 0.5588 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/0.6346, allocations: 2.403 MB / 0.5611 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.6366, allocations: 1.108 MB / 0.5622 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00544/0.642, allocations: 2.774 MB / 0.5649 GB, free: 18.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.642, allocations: 48.88 kB / 0.5649 GB, free: 18.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.426e-06/0.642, allocations: 4 kB / 0.565 GB, free: 18.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.009915/0.6519, allocations: 4.662 MB / 0.5695 GB, free: 15.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.652, allocations: 64.06 kB / 0.5696 GB, free: 15.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.6541, allocations: 1.509 MB / 0.571 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.6542, allocations: 47.58 kB / 0.5711 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008304/0.6551, allocations: 1.551 MB / 0.5726 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.6553, allocations: 441.4 kB / 0.573 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.6557, allocations: 288 kB / 0.5733 GB, free: 13.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.6558, allocations: 301.1 kB / 0.5736 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/0.6568, allocations: 0.6306 MB / 0.5742 GB, free: 13.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.658, allocations: 1.157 MB / 0.5753 GB, free: 12.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.6602, allocations: 1.869 MB / 0.5772 GB, free: 10.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.6602, allocations: 6.406 kB / 0.5772 GB, free: 10.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00354/0.6638, allocations: 2.12 MB / 0.5792 GB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.6638, allocations: 12.19 kB / 0.5792 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.6638, allocations: 15.09 kB / 0.5793 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.6642, allocations: 135.9 kB / 0.5794 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.6655, allocations: 399.2 kB / 0.5798 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.6674, allocations: 3.109 MB / 0.5828 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6687, allocations: 73.88 kB / 0.5829 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.6688, allocations: 68.91 kB / 0.5829 GB, free: 6.973 MB / 430.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.001943/0.6708, allocations: 1.05 MB / 0.584 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.6711, allocations: 168.5 kB / 0.5841 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.6744, allocations: 1.876 MB / 0.586 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6744, allocations: 11.56 kB / 0.586 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6744, allocations: 9.812 kB / 0.586 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6744, allocations: 5.047 kB / 0.586 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/0.6805, allocations: 3.909 MB / 0.5898 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6805, allocations: 7.344 kB / 0.5898 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.6812, allocations: 161.3 kB / 0.59 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009671/0.6821, allocations: 442.1 kB / 0.5904 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/0.6822, allocations: 36.95 kB / 0.5904 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009523/0.6917, allocations: 10.34 MB / 0.6005 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6917, allocations: 8.312 kB / 0.6005 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/0.6966, allocations: 2.698 MB / 0.6032 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6977, allocations: 310.7 kB / 0.6034 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.6979, allocations: 28 kB / 0.6035 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.6987, allocations: 59.95 kB / 0.6035 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.6989, allocations: 104.7 kB / 0.6036 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.699, allocations: 35.98 kB / 0.6037 GB, free: 4.988 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.7006, allocations: 1.01 MB / 0.6047 GB, free: 3.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7006, allocations: 0 / 0.6047 GB, free: 3.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002201/0.7028, allocations: 0.5507 MB / 0.6052 GB, free: 3.43 MB / 446.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.0002932/0.7031, allocations: 165.9 kB / 0.6053 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.706, allocations: 1.698 MB / 0.607 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.706, allocations: 0 / 0.607 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.7084, allocations: 1.433 MB / 0.6084 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.7108, allocations: 456.4 kB / 0.6088 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.7216, allocations: 5.73 MB / 0.6144 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/0.7238, allocations: 1.816 MB / 0.6162 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001418/0.7252, allocations: 366.5 kB / 0.6166 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.7255, allocations: 120.4 kB / 0.6167 GB, free: 7.504 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7255, allocations: 0 / 0.6167 GB, free: 7.504 MB / 462.1 MB Notification: Performance of Templates: time 0.0549/0.7804, allocations: 25.59 MB / 0.6417 GB, free: 14.3 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.690194217022508] Failed to read output from testmodel.py, exit status != 0: 0.7922006179578602 0.810037404 0.23141193300000001 Calling exit ...