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.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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.000957, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.465/1.465, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001367/0.001367, allocations: 177.1 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03229/0.03229, allocations: 8.801 MB / 350.1 MB, free: 4.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 9.062 kB / 413.1 MB, free: 43.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 52.56 MB / 465.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01366/0.1526, allocations: 10.59 MB / 476.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1629, allocations: 4.107 MB / 480.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.1659, allocations: 75.62 kB / 480.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.1695, allocations: 0.8164 MB / 481.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.1749, allocations: 1.118 MB / 482.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.178, allocations: 0.5922 MB / 483 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006758/0.1848, allocations: 2.78 MB / 485.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.1897, allocations: 2.445 MB / 488.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.1926, allocations: 1.269 MB / 489.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.1958, allocations: 1.47 MB / 490.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.1968, allocations: 212 kB / 491.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.1988, allocations: 379.7 kB / 491.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.2001, allocations: 0.7281 MB / 492.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.2018, allocations: 0.7538 MB / 493 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007153/0.209, allocations: 5.61 MB / 498.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.209, allocations: 0 / 498.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.209, allocations: 0 / 498.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002579/0.2093, allocations: 0 / 498.6 MB, free: 12.57 MB / 334.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.01229/0.2216, allocations: 3.787 MB / 0.4906 GB, free: 8.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.2216, allocations: 8.031 kB / 0.4906 GB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.227, allocations: 0.8348 MB / 0.4914 GB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005565/0.2326, allocations: 2.333 MB / 0.4937 GB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.2328, allocations: 246.7 kB / 0.4939 GB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/0.2334, allocations: 335.9 kB / 0.4943 GB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00821/0.2416, allocations: 4.457 MB / 0.4986 GB, free: 420 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.568e-05/0.2417, allocations: 7.984 kB / 0.4986 GB, free: 412 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.242, allocations: 136 kB / 0.4987 GB, free: 276 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.2422, allocations: 158.7 kB / 0.4989 GB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006645/0.2488, allocations: 3.802 MB / 0.5026 GB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.2708, allocations: 14.21 MB / 0.5165 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/0.2774, allocations: 6.145 MB / 0.5225 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005348/0.2827, allocations: 2.936 MB / 0.5254 GB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.2828, allocations: 47.52 kB / 0.5254 GB, free: 3.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 2.996e-06/0.2828, allocations: 0 / 0.5254 GB, free: 3.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=124): time 0.271/0.5539, allocations: 5.374 MB / 0.5306 GB, free: 63.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.5539, allocations: 68.09 kB / 0.5307 GB, free: 63.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.5562, allocations: 1.628 MB / 0.5323 GB, free: 63.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.5563, allocations: 47.89 kB / 0.5323 GB, free: 63.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008495/0.5572, allocations: 1.472 MB / 0.5338 GB, free: 62.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.5575, allocations: 436.5 kB / 0.5342 GB, free: 62.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.5575, allocations: 35.47 kB / 0.5342 GB, free: 62.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5577, allocations: 372.9 kB / 0.5346 GB, free: 61.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.5587, allocations: 0.6467 MB / 0.5352 GB, free: 61.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.5602, allocations: 1.138 MB / 0.5363 GB, free: 61.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.5615, allocations: 0.8627 MB / 0.5372 GB, free: 61.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.5615, allocations: 4.438 kB / 0.5372 GB, free: 61.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003712/0.5652, allocations: 2.241 MB / 0.5394 GB, free: 60.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.5653, allocations: 14.09 kB / 0.5394 GB, free: 60.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.5653, allocations: 19.7 kB / 0.5394 GB, free: 60.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.5658, allocations: 135.7 kB / 0.5395 GB, free: 60.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.5673, allocations: 407.8 kB / 0.5399 GB, free: 60.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.5694, allocations: 3.104 MB / 0.5429 GB, free: 58.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5707, allocations: 75.95 kB / 0.543 GB, free: 58.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.5708, allocations: 73.42 kB / 0.5431 GB, free: 58.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002361/0.5732, allocations: 1.042 MB / 0.5441 GB, free: 58.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.5736, allocations: 181.9 kB / 0.5443 GB, free: 57.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.5775, allocations: 2.134 MB / 0.5464 GB, free: 57.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.5776, allocations: 12.31 kB / 0.5464 GB, free: 57.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.5776, allocations: 5.844 kB / 0.5464 GB, free: 57.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.5776, allocations: 9.078 kB / 0.5464 GB, free: 57.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009115/0.5867, allocations: 4.86 MB / 0.5511 GB, free: 54.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5868, allocations: 2.094 kB / 0.5511 GB, free: 54.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.5876, allocations: 188.5 kB / 0.5513 GB, free: 54.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.5888, allocations: 448.6 kB / 0.5517 GB, free: 54.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.5889, allocations: 34.8 kB / 0.5518 GB, free: 54.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00733/0.5962, allocations: 10.22 MB / 0.5618 GB, free: 46.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5963, allocations: 4.062 kB / 0.5618 GB, free: 46.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.6004, allocations: 3.063 MB / 0.5648 GB, free: 44.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/0.6011, allocations: 399 kB / 0.5651 GB, free: 43.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.6013, allocations: 38.75 kB / 0.5652 GB, free: 43.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.602, allocations: 65.27 kB / 0.5652 GB, free: 43.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.6023, allocations: 97.33 kB / 0.5653 GB, free: 43.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.6023, allocations: 40.58 kB / 0.5654 GB, free: 43.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001497/0.6038, allocations: 1.103 MB / 0.5664 GB, free: 43.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6038, allocations: 0 / 0.5664 GB, free: 43.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002016/0.6059, allocations: 0.5483 MB / 0.567 GB, free: 43.12 MB / 366.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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.6061, allocations: 165.5 kB / 0.5671 GB, free: 42.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.6087, allocations: 1.889 MB / 0.569 GB, free: 41.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6087, allocations: 0 / 0.569 GB, free: 41.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.6106, allocations: 1.527 MB / 0.5705 GB, free: 40.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.6123, allocations: 0.5111 MB / 0.571 GB, free: 40.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.6204, allocations: 6.931 MB / 0.5777 GB, free: 33.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.6219, allocations: 2.421 MB / 0.5801 GB, free: 30.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.6232, allocations: 388.1 kB / 0.5805 GB, free: 30.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.6234, allocations: 123.4 kB / 0.5806 GB, free: 30.49 MB / 366.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6234, allocations: 0 / 0.5806 GB, free: 30.49 MB / 366.1 MB Notification: Performance of Templates: time 0.03841/0.6619, allocations: 25.35 MB / 0.6053 GB, free: 5.402 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: