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.004236/0.004236, allocations: 168.9 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.03891/0.03891, allocations: 8.799 MB / 24.65 MB, free: 4.094 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.201/1.201, allocations: 223.2 MB / 250.7 MB, free: 6.469 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.0008532/0.0008532, allocations: 97.09 kB / 304 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 15.98 kB / 367.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 52.53 MB / 419.6 MB, free: 48.06 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3467, allocations: 109.1 MB / 0.5163 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.347, allocations: 87.89 kB / 0.5164 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3427/0.6896, allocations: 82.91 MB / 0.5973 GB, free: 94.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6897, allocations: 0 / 0.5973 GB, free: 94.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002118/0.6899, allocations: 82.12 kB / 0.5974 GB, free: 94.93 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.008254/0.6981, allocations: 3.585 MB / 0.6009 GB, free: 93.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6982, allocations: 11.66 kB / 0.6009 GB, free: 93.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/0.7019, allocations: 0.7475 MB / 0.6016 GB, free: 92.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007787/0.7097, allocations: 3.536 MB / 0.6051 GB, free: 91.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.7098, allocations: 252.4 kB / 0.6053 GB, free: 91.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005213/0.7104, allocations: 336.7 kB / 0.6057 GB, free: 90.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.7162, allocations: 4.418 MB / 0.61 GB, free: 88.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.7162, allocations: 7.656 kB / 0.61 GB, free: 88.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.7165, allocations: 144.7 kB / 0.6101 GB, free: 88.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.7167, allocations: 154.8 kB / 0.6103 GB, free: 88.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.7216, allocations: 3.569 MB / 0.6138 GB, free: 87.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.7382, allocations: 14.23 MB / 0.6277 GB, free: 75.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/0.7425, allocations: 6.164 MB / 0.6337 GB, free: 68.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004026/0.7466, allocations: 2.973 MB / 0.6366 GB, free: 65.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.7466, allocations: 47.56 kB / 0.6366 GB, free: 65.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.116e-06/0.7466, allocations: 0 / 0.6366 GB, free: 65.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.008391/0.755, allocations: 5.389 MB / 0.6419 GB, free: 60.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.7551, allocations: 68.36 kB / 0.642 GB, free: 60.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.7568, allocations: 1.463 MB / 0.6434 GB, free: 58.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.7568, allocations: 45.7 kB / 0.6434 GB, free: 58.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.7574, allocations: 1.478 MB / 0.6449 GB, free: 57.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.7577, allocations: 439.5 kB / 0.6453 GB, free: 56.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.7577, allocations: 36 kB / 0.6453 GB, free: 56.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.7578, allocations: 365.9 kB / 0.6457 GB, free: 56.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/0.7587, allocations: 0.6442 MB / 0.6463 GB, free: 55.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009834/0.7597, allocations: 1.137 MB / 0.6474 GB, free: 54.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.7607, allocations: 0.869 MB / 0.6483 GB, free: 53.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.7607, allocations: 4 kB / 0.6483 GB, free: 53.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=207) (initialization): time 0.002684/0.7634, allocations: 2.229 MB / 0.6504 GB, free: 51.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7634, allocations: 15.98 kB / 0.6505 GB, free: 51.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.7635, allocations: 16 kB / 0.6505 GB, free: 51.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.7638, allocations: 138.9 kB / 0.6506 GB, free: 50.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.7652, allocations: 399.4 kB / 0.651 GB, free: 50.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.7669, allocations: 3.11 MB / 0.654 GB, free: 47.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.7681, allocations: 83.92 kB / 0.6541 GB, free: 47.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/0.7682, allocations: 72 kB / 0.6542 GB, free: 46.95 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.001596/0.7698, allocations: 1.036 MB / 0.6552 GB, free: 45.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.77, allocations: 181.8 kB / 0.6554 GB, free: 45.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.773, allocations: 2.119 MB / 0.6574 GB, free: 43.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7731, allocations: 12 kB / 0.6574 GB, free: 43.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.7731, allocations: 4 kB / 0.6574 GB, free: 43.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.7731, allocations: 11.95 kB / 0.6574 GB, free: 43.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006296/0.7794, allocations: 4.909 MB / 0.6622 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.7794, allocations: 4 kB / 0.6622 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/0.7802, allocations: 180 kB / 0.6624 GB, free: 38.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.7812, allocations: 445.9 kB / 0.6628 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.7813, allocations: 35.98 kB / 0.6629 GB, free: 37.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006928/0.7882, allocations: 10.24 MB / 0.6729 GB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7883, allocations: 8 kB / 0.6729 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.7922, allocations: 3.074 MB / 0.6759 GB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008204/0.793, allocations: 398.8 kB / 0.6763 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.7932, allocations: 39.98 kB / 0.6763 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/0.794, allocations: 63.95 kB / 0.6764 GB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.7943, allocations: 108.8 kB / 0.6765 GB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.7943, allocations: 40.17 kB / 0.6765 GB, free: 23.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001352/0.7957, allocations: 1.111 MB / 0.6776 GB, free: 21.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.7957, allocations: 0 / 0.6776 GB, free: 21.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001774/0.7975, allocations: 0.5899 MB / 0.6782 GB, free: 21.38 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.0004314/0.7979, allocations: 368.8 kB / 0.6785 GB, free: 21.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.8003, allocations: 1.902 MB / 0.6804 GB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.8003, allocations: 0 / 0.6804 GB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.802, allocations: 1.523 MB / 0.6819 GB, free: 17.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.8037, allocations: 0.4985 MB / 0.6823 GB, free: 17.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.8113, allocations: 6.95 MB / 0.6891 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.8128, allocations: 2.428 MB / 0.6915 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001289/0.8141, allocations: 388.6 kB / 0.6919 GB, free: 7.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.8144, allocations: 123.4 kB / 0.692 GB, free: 7.059 MB / 426.7 MB Notification: Performance of SimCode: time 1.061e-06/0.8144, allocations: 0 / 0.692 GB, free: 7.059 MB / 426.7 MB Notification: Performance of Templates: time 0.04377/0.8582, allocations: 28.31 MB / 0.7196 GB, free: 11.05 MB / 458.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)