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.004558/0.004558, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03661/0.03661, allocations: 8.799 MB / 24.65 MB, free: 4.113 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.233/1.233, allocations: 223.2 MB / 250.7 MB, free: 6.574 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.0008616/0.0008616, allocations: 99.06 kB / 304 MB, free: 4.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 8 kB / 367.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2277, allocations: 52.54 MB / 419.6 MB, free: 48.15 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.3448, allocations: 109 MB / 0.5162 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.345, allocations: 79.97 kB / 0.5163 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3373/0.6823, allocations: 82.5 MB / 0.5969 GB, free: 95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6823, allocations: 0 / 0.5969 GB, free: 95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001845/0.6825, allocations: 85.47 kB / 0.597 GB, free: 94.98 MB / 426.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.007/0.6895, allocations: 3.579 MB / 0.6004 GB, free: 93.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6896, allocations: 11.16 kB / 0.6005 GB, free: 93.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.6929, allocations: 0.7547 MB / 0.6012 GB, free: 92.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/0.6991, allocations: 3.53 MB / 0.6046 GB, free: 91.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.6992, allocations: 252.4 kB / 0.6049 GB, free: 91.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.6996, allocations: 339.5 kB / 0.6052 GB, free: 91.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/0.7054, allocations: 4.42 MB / 0.6095 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/0.7055, allocations: 11.78 kB / 0.6095 GB, free: 88.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.7058, allocations: 140.8 kB / 0.6097 GB, free: 88.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.7059, allocations: 155.2 kB / 0.6098 GB, free: 88.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.7106, allocations: 3.569 MB / 0.6133 GB, free: 87.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.7278, allocations: 14.24 MB / 0.6272 GB, free: 76.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/0.7322, allocations: 6.16 MB / 0.6332 GB, free: 69.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003903/0.7362, allocations: 2.974 MB / 0.6361 GB, free: 66.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.7362, allocations: 47.56 kB / 0.6362 GB, free: 66.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 2.535e-06/0.7362, allocations: 0 / 0.6362 GB, free: 66.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.009086/0.7453, allocations: 5.376 MB / 0.6414 GB, free: 60.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.7454, allocations: 72.36 kB / 0.6415 GB, free: 60.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.7474, allocations: 1.459 MB / 0.6429 GB, free: 58.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.571e-05/0.7475, allocations: 53.64 kB / 0.643 GB, free: 58.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.7481, allocations: 1.474 MB / 0.6444 GB, free: 57.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.7483, allocations: 438.3 kB / 0.6448 GB, free: 56.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.7484, allocations: 32 kB / 0.6449 GB, free: 56.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.7485, allocations: 369.9 kB / 0.6452 GB, free: 56.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.7494, allocations: 0.6442 MB / 0.6458 GB, free: 55.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.7504, allocations: 1.141 MB / 0.647 GB, free: 54.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.7516, allocations: 0.8574 MB / 0.6478 GB, free: 53.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.7516, allocations: 11.94 kB / 0.6478 GB, free: 53.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=207) (initialization): time 0.002949/0.7545, allocations: 2.237 MB / 0.65 GB, free: 51.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.7546, allocations: 12 kB / 0.65 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.7546, allocations: 12 kB / 0.65 GB, free: 51.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.755, allocations: 134.5 kB / 0.6501 GB, free: 51.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.7563, allocations: 415.4 kB / 0.6505 GB, free: 50.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.7581, allocations: 3.105 MB / 0.6536 GB, free: 47.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.7594, allocations: 71.88 kB / 0.6536 GB, free: 47.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.7596, allocations: 75.98 kB / 0.6537 GB, free: 47.34 MB / 426.7 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.001731/0.7613, allocations: 1.044 MB / 0.6547 GB, free: 46.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/0.7616, allocations: 177.8 kB / 0.6549 GB, free: 46.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.7649, allocations: 2.131 MB / 0.657 GB, free: 43.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.7649, allocations: 12 kB / 0.657 GB, free: 43.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.7649, allocations: 8 kB / 0.657 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.765, allocations: 7.969 kB / 0.657 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00751/0.7725, allocations: 4.899 MB / 0.6618 GB, free: 38.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7725, allocations: 0 / 0.6618 GB, free: 38.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.7733, allocations: 183.9 kB / 0.662 GB, free: 38.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.7743, allocations: 457.3 kB / 0.6624 GB, free: 38.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/0.7744, allocations: 35.98 kB / 0.6624 GB, free: 38.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/0.7816, allocations: 10.23 MB / 0.6724 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7816, allocations: 7.969 kB / 0.6724 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.7856, allocations: 3.084 MB / 0.6754 GB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/0.7865, allocations: 398.8 kB / 0.6758 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.7869, allocations: 28 kB / 0.6758 GB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/0.7879, allocations: 75.94 kB / 0.6759 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.7881, allocations: 100.8 kB / 0.676 GB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.7882, allocations: 35.98 kB / 0.676 GB, free: 23.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001663/0.7899, allocations: 1.115 MB / 0.6771 GB, free: 22.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7899, allocations: 0 / 0.6771 GB, free: 22.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002136/0.792, allocations: 0.5859 MB / 0.6777 GB, free: 21.77 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 (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.0004757/0.7925, allocations: 372.8 kB / 0.6781 GB, free: 21.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.7951, allocations: 1.896 MB / 0.6799 GB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7951, allocations: 8.125 kB / 0.6799 GB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.7969, allocations: 1.518 MB / 0.6814 GB, free: 17.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.799, allocations: 0.4939 MB / 0.6819 GB, free: 17.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.8083, allocations: 6.962 MB / 0.6887 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.8103, allocations: 2.417 MB / 0.691 GB, free: 7.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001523/0.8119, allocations: 396.6 kB / 0.6914 GB, free: 7.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.8123, allocations: 123.4 kB / 0.6915 GB, free: 7.453 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.8123, allocations: 4 kB / 0.6915 GB, free: 7.449 MB / 426.7 MB Notification: Performance of Templates: time 0.04661/0.8589, allocations: 28.3 MB / 0.7192 GB, free: 11.45 MB / 458.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)