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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06396/0.06396, allocations: 8.704 MB / 21.96 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.4 MB / 246 MB, free: 3.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 98.16 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.244e-05, allocations: 4 kB / 359.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 52.53 MB / 412 MB, free: 22.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.6962, allocations: 109 MB / 0.5088 GB, free: 94.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.6964, allocations: 77.62 kB / 0.5089 GB, free: 94.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1618/0.8582, allocations: 82.51 MB / 0.5894 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.8583, allocations: 0 / 0.5894 GB, free: 15.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001863/0.8584, allocations: 83.81 kB / 0.5895 GB, free: 15.91 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.00753/0.866, allocations: 3.286 MB / 0.5927 GB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.866, allocations: 8.031 kB / 0.5927 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.8701, allocations: 0.7529 MB / 0.5935 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007572/0.8777, allocations: 3.502 MB / 0.5969 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.8779, allocations: 250.7 kB / 0.5971 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008222/0.8787, allocations: 343.8 kB / 0.5975 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006945/0.8857, allocations: 4.329 MB / 0.6017 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.27e-05/0.8858, allocations: 12 kB / 0.6017 GB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.8861, allocations: 140 kB / 0.6018 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.8862, allocations: 154.7 kB / 0.602 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005578/0.8918, allocations: 3.447 MB / 0.6053 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/0.9157, allocations: 14.24 MB / 0.6192 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005945/0.9217, allocations: 6.049 MB / 0.6252 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.9237, allocations: 1.165 MB / 0.6263 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006222/0.9299, allocations: 3.279 MB / 0.6295 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.93, allocations: 51.56 kB / 0.6295 GB, free: 5.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 3.487e-06/0.93, allocations: 0 / 0.6295 GB, free: 5.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.007098/0.9371, allocations: 3.727 MB / 0.6332 GB, free: 1.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.9372, allocations: 68.36 kB / 0.6332 GB, free: 1.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.9396, allocations: 1.447 MB / 0.6347 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.576e-05/0.9397, allocations: 49.7 kB / 0.6347 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.9408, allocations: 1.484 MB / 0.6362 GB, free: 14.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.9411, allocations: 414.1 kB / 0.6365 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.9412, allocations: 36 kB / 0.6366 GB, free: 13.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.9414, allocations: 365.9 kB / 0.6369 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009195/0.9424, allocations: 0.5819 MB / 0.6375 GB, free: 13.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.9436, allocations: 1.073 MB / 0.6385 GB, free: 11.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.9447, allocations: 0.7896 MB / 0.6393 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.9448, allocations: 8 kB / 0.6393 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003343/0.9481, allocations: 2.096 MB / 0.6414 GB, free: 8.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.9481, allocations: 12 kB / 0.6414 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.9482, allocations: 16 kB / 0.6414 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/0.9486, allocations: 134.9 kB / 0.6415 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.95, allocations: 387.4 kB / 0.6419 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.9528, allocations: 3.091 MB / 0.6449 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.9545, allocations: 84.23 kB / 0.645 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.9546, allocations: 75.98 kB / 0.6451 GB, free: 4.723 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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.0003318/0.955, allocations: 196.5 kB / 0.6453 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.9552, allocations: 177.8 kB / 0.6454 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.9589, allocations: 1.959 MB / 0.6473 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9589, allocations: 15.94 kB / 0.6474 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.9589, allocations: 4 kB / 0.6474 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.9589, allocations: 11.97 kB / 0.6474 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/0.9669, allocations: 4.654 MB / 0.6519 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.967, allocations: 4.125 kB / 0.6519 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.9677, allocations: 163.8 kB / 0.6521 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.969, allocations: 435.9 kB / 0.6525 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.9691, allocations: 31.98 kB / 0.6525 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009899/0.979, allocations: 10.06 MB / 0.6623 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.979, allocations: 4.031 kB / 0.6623 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2912/1.27, allocations: 2.807 MB / 0.6651 GB, free: 84.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.272, allocations: 388.7 kB / 0.6655 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/1.272, allocations: 30.05 kB / 0.6655 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/1.273, allocations: 69.55 kB / 0.6656 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/1.274, allocations: 93.66 kB / 0.6656 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/1.274, allocations: 41.89 kB / 0.6657 GB, free: 84.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002099/1.276, allocations: 1.1 MB / 0.6668 GB, free: 84.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.276, allocations: 4.719 kB / 0.6668 GB, free: 84.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002592/1.278, allocations: 0.5834 MB / 0.6673 GB, free: 84.66 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * 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.0006163/1.279, allocations: 406.2 kB / 0.6677 GB, free: 84.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/1.281, allocations: 1.734 MB / 0.6694 GB, free: 84.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.281, allocations: 2.562 kB / 0.6694 GB, free: 84.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.283, allocations: 1.426 MB / 0.6708 GB, free: 83.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.286, allocations: 0.4917 MB / 0.6713 GB, free: 83.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/1.294, allocations: 4.56 MB / 0.6757 GB, free: 82.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.296, allocations: 2.428 MB / 0.6781 GB, free: 81.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001527/1.297, allocations: 381.6 kB / 0.6785 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/1.298, allocations: 124.7 kB / 0.6786 GB, free: 81.83 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/1.298, allocations: 0 / 0.6786 GB, free: 81.83 MB / 442.7 MB Notification: Performance of Templates: time 0.04931/1.347, allocations: 28.65 MB / 0.7066 GB, free: 80.39 MB / 442.7 MB 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)