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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 106.8 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 240.1 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 192.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03436/0.03436, allocations: 8.804 MB / 349.3 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 83.88 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1289, allocations: 51.57 MB / 0.5041 GB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01583/0.1447, allocations: 13.13 MB / 0.5169 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.1557, allocations: 4.345 MB / 0.5211 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.1593, allocations: 83.69 kB / 0.5212 GB, free: 7.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004636/0.1639, allocations: 1.017 MB / 0.5222 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.1691, allocations: 1.281 MB / 0.5235 GB, free: 5.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.1717, allocations: 0.861 MB / 0.5243 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006256/0.178, allocations: 4.03 MB / 0.5282 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2827/0.4607, allocations: 3.524 MB / 0.5317 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.464, allocations: 1.936 MB / 0.5336 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.4679, allocations: 2.129 MB / 0.5356 GB, free: 5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.4695, allocations: 0.5258 MB / 0.5362 GB, free: 5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.472, allocations: 0.7246 MB / 0.5369 GB, free: 5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.4732, allocations: 1.144 MB / 0.538 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.4764, allocations: 2.179 MB / 0.5401 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.4872, allocations: 6.887 MB / 0.5468 GB, free: 3.672 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4873, allocations: 0.6875 kB / 0.5468 GB, free: 3.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4873, allocations: 4 kB / 0.5468 GB, free: 3.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.4875, allocations: 0.5312 kB / 0.5468 GB, free: 3.668 MB / 366.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.02002/0.5076, allocations: 4.441 MB / 0.5512 GB, free: 2.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.5076, allocations: 9.312 kB / 0.5512 GB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.5132, allocations: 0.8183 MB / 0.552 GB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007563/0.5208, allocations: 2.481 MB / 0.5544 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004428/0.5212, allocations: 249.9 kB / 0.5546 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.5233, allocations: 331 kB / 0.555 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.5402, allocations: 4.511 MB / 0.5594 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/0.5404, allocations: 3.906 kB / 0.5594 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/0.5421, allocations: 136.5 kB / 0.5595 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/0.5423, allocations: 161.6 kB / 0.5597 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.5537, allocations: 3.813 MB / 0.5634 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03477/0.5885, allocations: 14.02 MB / 0.5771 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008564/0.5972, allocations: 6.148 MB / 0.5831 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/0.6002, allocations: 1.177 MB / 0.5842 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008098/0.6083, allocations: 3.304 MB / 0.5874 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.31e-05/0.6085, allocations: 43.56 kB / 0.5875 GB, free: 5.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.797e-06/0.6085, allocations: 0 / 0.5875 GB, free: 5.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.01357/0.622, allocations: 5.232 MB / 0.5926 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.6221, allocations: 64.41 kB / 0.5927 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/0.6264, allocations: 1.682 MB / 0.5943 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.6267, allocations: 45.7 kB / 0.5943 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.6281, allocations: 1.498 MB / 0.5958 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005661/0.6287, allocations: 415.1 kB / 0.5962 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006793/0.6294, allocations: 291.2 kB / 0.5965 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6295, allocations: 301.1 kB / 0.5968 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.631, allocations: 0.6286 MB / 0.5974 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.6328, allocations: 1.13 MB / 0.5985 GB, free: 9.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.6359, allocations: 1.875 MB / 0.6003 GB, free: 7.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.6359, allocations: 4 kB / 0.6003 GB, free: 7.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004478/0.6404, allocations: 2.185 MB / 0.6025 GB, free: 5.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.6405, allocations: 12 kB / 0.6025 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/0.6405, allocations: 16 kB / 0.6025 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.641, allocations: 137.8 kB / 0.6026 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.6425, allocations: 394.2 kB / 0.603 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.6458, allocations: 3.371 MB / 0.6063 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.6477, allocations: 71.81 kB / 0.6063 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.6479, allocations: 76.11 kB / 0.6064 GB, free: 1.105 MB / 414.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.002838/0.6508, allocations: 1.036 MB / 0.6074 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006381/0.6514, allocations: 178 kB / 0.6076 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.6558, allocations: 2.045 MB / 0.6096 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6558, allocations: 12 kB / 0.6096 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.221e-05/0.6558, allocations: 8 kB / 0.6096 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.6559, allocations: 11.92 kB / 0.6096 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.6671, allocations: 4.78 MB / 0.6143 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6672, allocations: 4 kB / 0.6143 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.668, allocations: 159.8 kB / 0.6145 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.6693, allocations: 434.7 kB / 0.6149 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.6694, allocations: 43.92 kB / 0.6149 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.6811, allocations: 11.06 MB / 0.6257 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6812, allocations: 0 / 0.6257 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.687, allocations: 2.872 MB / 0.6285 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.6886, allocations: 392 kB / 0.6289 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008329/0.6895, allocations: 35.98 kB / 0.6289 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.691, allocations: 55.95 kB / 0.629 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/0.6915, allocations: 102.5 kB / 0.6291 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.6916, allocations: 32 kB / 0.6291 GB, free: 9.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002969/0.6946, allocations: 1.157 MB / 0.6302 GB, free: 7.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6946, allocations: 0 / 0.6302 GB, free: 7.895 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003263/0.6979, allocations: 0.5391 MB / 0.6308 GB, free: 7.355 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,8,100.0%), (1,13,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.0004686/0.6983, allocations: 158.2 kB / 0.6309 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.7022, allocations: 1.844 MB / 0.6327 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.7022, allocations: 2.719 kB / 0.6327 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.7049, allocations: 1.496 MB / 0.6342 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/0.7086, allocations: 0.5308 MB / 0.6347 GB, free: 3.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.7229, allocations: 5.622 MB / 0.6402 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003817/0.7268, allocations: 2.312 MB / 0.6424 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008373/0.7277, allocations: 135.4 kB / 0.6426 GB, free: 11.18 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7277, allocations: 0 / 0.6426 GB, free: 11.18 MB / 462.1 MB Notification: Performance of Templates: time 0.4224/1.15, allocations: 105.2 MB / 0.7453 GB, free: 181.2 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1)