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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0393/0.0393, allocations: 8.775 MB / 25.64 MB, free: 3.793 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.00128, allocations: 102.2 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005081, allocations: 12 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.313, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4612, allocations: 108.8 MB / 0.4915 GB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4614, allocations: 75.97 kB / 0.4916 GB, free: 7.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4324/0.8939, allocations: 82.59 MB / 0.5723 GB, free: 41.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.8939, allocations: 0 / 0.5723 GB, free: 41.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004183/0.8944, allocations: 87.88 kB / 0.5723 GB, free: 41.63 MB / 378.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.01477/0.9091, allocations: 3.53 MB / 0.5758 GB, free: 38.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9092, allocations: 8.031 kB / 0.5758 GB, free: 38.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.914, allocations: 0.7538 MB / 0.5765 GB, free: 37.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/0.9218, allocations: 2.859 MB / 0.5793 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.9221, allocations: 251.1 kB / 0.5796 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.9236, allocations: 336.3 kB / 0.5799 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.9364, allocations: 4.454 MB / 0.5842 GB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.9366, allocations: 7.844 kB / 0.5842 GB, free: 29.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.9377, allocations: 143.9 kB / 0.5844 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.9379, allocations: 154.7 kB / 0.5845 GB, free: 28.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008776/0.9467, allocations: 3.568 MB / 0.588 GB, free: 25.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.9738, allocations: 14.26 MB / 0.6019 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/0.9797, allocations: 6.147 MB / 0.6079 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.9816, allocations: 1.221 MB / 0.6091 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00622/0.9879, allocations: 3.337 MB / 0.6124 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.9879, allocations: 47.5 kB / 0.6124 GB, free: 15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 3.587e-06/0.988, allocations: 3.938 kB / 0.6124 GB, free: 14.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.01189/0.9999, allocations: 5.273 MB / 0.6176 GB, free: 9.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1, allocations: 64.41 kB / 0.6177 GB, free: 9.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/1.004, allocations: 1.647 MB / 0.6193 GB, free: 7.785 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.004, allocations: 49.7 kB / 0.6193 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/1.005, allocations: 1.48 MB / 0.6208 GB, free: 6.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/1.006, allocations: 418 kB / 0.6212 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.006, allocations: 36 kB / 0.6212 GB, free: 5.781 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/1.006, allocations: 369.9 kB / 0.6215 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.007, allocations: 0.6208 MB / 0.6221 GB, free: 4.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/1.009, allocations: 1.143 MB / 0.6233 GB, free: 3.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/1.012, allocations: 1.869 MB / 0.6251 GB, free: 1.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/1.012, allocations: 7.984 kB / 0.6251 GB, free: 1.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004088/1.016, allocations: 2.198 MB / 0.6272 GB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.016, allocations: 19.98 kB / 0.6273 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/1.016, allocations: 16 kB / 0.6273 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/1.016, allocations: 130.5 kB / 0.6274 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.018, allocations: 403.4 kB / 0.6278 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/1.021, allocations: 3.099 MB / 0.6308 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.022, allocations: 71.97 kB / 0.6309 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.022, allocations: 71.98 kB / 0.6309 GB, free: 11.01 MB / 410.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 (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%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00251/1.025, allocations: 1.04 MB / 0.632 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/1.026, allocations: 181.8 kB / 0.6321 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/1.03, allocations: 2.056 MB / 0.6341 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.03, allocations: 12 kB / 0.6342 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/1.03, allocations: 4 kB / 0.6342 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.03, allocations: 11.97 kB / 0.6342 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.04, allocations: 4.779 MB / 0.6388 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.04, allocations: 0 / 0.6388 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/1.041, allocations: 167.8 kB / 0.639 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/1.042, allocations: 456 kB / 0.6394 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/1.042, allocations: 35.98 kB / 0.6395 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.054, allocations: 10.1 MB / 0.6493 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.054, allocations: 4.031 kB / 0.6493 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005836/1.06, allocations: 2.877 MB / 0.6521 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.062, allocations: 394.8 kB / 0.6525 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008696/1.063, allocations: 32 kB / 0.6526 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.065, allocations: 67.95 kB / 0.6526 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/1.065, allocations: 96.8 kB / 0.6527 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.065, allocations: 35.98 kB / 0.6527 GB, free: 3.695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002925/1.068, allocations: 1.127 MB / 0.6538 GB, free: 2.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.068, allocations: 0 / 0.6538 GB, free: 2.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003308/1.071, allocations: 0.5781 MB / 0.6544 GB, free: 1.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * 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 (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%) 1,(1,100.0%) 8,(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.0007251/1.072, allocations: 357.2 kB / 0.6547 GB, free: 1.641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2536/1.326, allocations: 1.839 MB / 0.6565 GB, free: 94.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.326, allocations: 2.688 kB / 0.6565 GB, free: 94.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/1.328, allocations: 1.498 MB / 0.658 GB, free: 93.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/1.331, allocations: 0.4959 MB / 0.6585 GB, free: 93.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.342, allocations: 6.924 MB / 0.6653 GB, free: 91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/1.344, allocations: 2.366 MB / 0.6676 GB, free: 90.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001763/1.345, allocations: 392.3 kB / 0.6679 GB, free: 90.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/1.346, allocations: 118.4 kB / 0.6681 GB, free: 90.17 MB / 426.7 MB Notification: Performance of SimCode: time 3.958e-06/1.346, allocations: 0 / 0.6681 GB, free: 90.17 MB / 426.7 MB Notification: Performance of Templates: time 0.05012/1.396, allocations: 28.5 MB / 0.6959 GB, free: 88.53 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile (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)