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 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_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 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 174.1 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.04098/0.04098, allocations: 8.7 MB / 21.96 MB, free: 3.367 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.404/1.404, allocations: 221.4 MB / 246 MB, free: 3.551 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.0009164, allocations: 95.83 kB / 299.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.571e-05, allocations: 4 kB / 359.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2954, allocations: 52.53 MB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.69, allocations: 109 MB / 0.5088 GB, free: 94.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.6903, allocations: 79.3 kB / 0.5089 GB, free: 94.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1692/0.8595, allocations: 82.92 MB / 0.5899 GB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.8596, allocations: 0 / 0.5899 GB, free: 15.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004482/0.86, allocations: 79.88 kB / 0.59 GB, free: 15.33 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.01124/0.8713, allocations: 3.294 MB / 0.5932 GB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.8714, allocations: 12.03 kB / 0.5932 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/0.8757, allocations: 0.7411 MB / 0.5939 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00781/0.8835, allocations: 3.514 MB / 0.5974 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.8837, allocations: 246.7 kB / 0.5976 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005703/0.8843, allocations: 343.8 kB / 0.5979 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007147/0.8914, allocations: 4.329 MB / 0.6021 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.086e-05/0.8915, allocations: 4 kB / 0.6021 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.8918, allocations: 144 kB / 0.6023 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.892, allocations: 146.7 kB / 0.6024 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/0.8976, allocations: 3.447 MB / 0.6058 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.9216, allocations: 14.24 MB / 0.6197 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.928, allocations: 6.057 MB / 0.6256 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.9299, allocations: 1.165 MB / 0.6267 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006053/0.9359, allocations: 3.286 MB / 0.63 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.936, allocations: 47.56 kB / 0.63 GB, free: 4.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 3.076e-06/0.936, allocations: 0 / 0.63 GB, free: 4.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.007105/0.9431, allocations: 3.719 MB / 0.6336 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.9432, allocations: 72.36 kB / 0.6337 GB, free: 0.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.9457, allocations: 1.439 MB / 0.6351 GB, free: 15.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.9458, allocations: 49.7 kB / 0.6352 GB, free: 15.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.9469, allocations: 1.484 MB / 0.6366 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.9473, allocations: 414.1 kB / 0.637 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.9474, allocations: 32 kB / 0.637 GB, free: 13.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.9476, allocations: 369.9 kB / 0.6374 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009426/0.9485, allocations: 0.5741 MB / 0.6379 GB, free: 12.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.9498, allocations: 1.077 MB / 0.639 GB, free: 11.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.951, allocations: 0.7934 MB / 0.6398 GB, free: 10.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.951, allocations: 8 kB / 0.6398 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003482/0.9545, allocations: 2.092 MB / 0.6418 GB, free: 8.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.9546, allocations: 13.56 kB / 0.6418 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.9546, allocations: 16 kB / 0.6418 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/0.955, allocations: 130.9 kB / 0.642 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.9564, allocations: 399.3 kB / 0.6424 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.9592, allocations: 3.095 MB / 0.6454 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.9608, allocations: 72.12 kB / 0.6454 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.9609, allocations: 71.98 kB / 0.6455 GB, free: 4.16 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.0003242/0.9612, allocations: 208.4 kB / 0.6457 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.9615, allocations: 185.8 kB / 0.6459 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.9651, allocations: 1.94 MB / 0.6478 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.9652, allocations: 12 kB / 0.6478 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.9652, allocations: 4 kB / 0.6478 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.9652, allocations: 7.969 kB / 0.6478 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0082/0.9734, allocations: 4.67 MB / 0.6524 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9735, allocations: 0 / 0.6524 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.9742, allocations: 172 kB / 0.6525 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.9754, allocations: 443.8 kB / 0.653 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/0.9755, allocations: 36.05 kB / 0.653 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.9868, allocations: 10.05 MB / 0.6628 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.9869, allocations: 7.969 kB / 0.6628 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3092/1.296, allocations: 2.8 MB / 0.6655 GB, free: 85.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.297, allocations: 388.4 kB / 0.6659 GB, free: 85.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/1.297, allocations: 31.42 kB / 0.6659 GB, free: 85.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/1.298, allocations: 66.91 kB / 0.666 GB, free: 85.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.299, allocations: 102.9 kB / 0.6661 GB, free: 85.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/1.299, allocations: 32.98 kB / 0.6661 GB, free: 85.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00189/1.301, allocations: 1.102 MB / 0.6672 GB, free: 85.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.301, allocations: 0 / 0.6672 GB, free: 85.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00215/1.303, allocations: 0.5815 MB / 0.6678 GB, free: 85.16 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.0005887/1.303, allocations: 406.5 kB / 0.6682 GB, free: 85.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002326/1.306, allocations: 1.741 MB / 0.6699 GB, free: 84.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.306, allocations: 0 / 0.6699 GB, free: 84.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.307, allocations: 1.425 MB / 0.6713 GB, free: 84.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/1.31, allocations: 497.6 kB / 0.6717 GB, free: 84.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008177/1.318, allocations: 4.581 MB / 0.6762 GB, free: 83.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.319, allocations: 2.421 MB / 0.6786 GB, free: 82.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001921/1.321, allocations: 380.2 kB / 0.6789 GB, free: 82.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/1.322, allocations: 123.8 kB / 0.6791 GB, free: 82.32 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/1.322, allocations: 0 / 0.6791 GB, free: 82.32 MB / 442.7 MB Notification: Performance of Templates: time 0.04948/1.371, allocations: 28.66 MB / 0.707 GB, free: 80.88 MB / 442.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)