Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001575/0.001575, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.439/1.439, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001624/0.001624, allocations: 104.8 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.453e-05, allocations: 0 / 305 MB, free: 29.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.08327, allocations: 44.51 MB / 349.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4441, allocations: 121.2 MB / 470.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/0.4445, allocations: 100.4 kB / 470.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157/1.602, allocations: 339.6 MB / 0.7914 GB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.602, allocations: 0 / 0.7914 GB, free: 42.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001074/1.603, allocations: 213.7 kB / 0.7916 GB, free: 42.42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03869/1.641, allocations: 9.046 MB / 0.8004 GB, free: 34.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.642, allocations: 8.031 kB / 0.8004 GB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/1.67, allocations: 4.855 MB / 0.8051 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02234/1.692, allocations: 7.879 MB / 0.8128 GB, free: 21.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001192/1.693, allocations: 0.6929 MB / 0.8135 GB, free: 21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005666/1.699, allocations: 0.898 MB / 0.8144 GB, free: 20.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05657/1.756, allocations: 16.52 MB / 0.8305 GB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005749/1.756, allocations: 7.906 kB / 0.8305 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005047/1.761, allocations: 396.8 kB / 0.8309 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001267/1.763, allocations: 0.6909 MB / 0.8316 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3761/2.139, allocations: 15.19 MB / 0.8464 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/2.255, allocations: 53.87 MB / 0.899 GB, free: 28.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02216/2.277, allocations: 18.76 MB / 0.9174 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01314/2.29, allocations: 6.986 MB / 0.9242 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04903/2.34, allocations: 22.67 MB / 0.9463 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.047e-05/2.34, allocations: 93.73 kB / 0.9464 GB, free: 1.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=684): time 1.422e-05/2.34, allocations: 3.391 kB / 0.9464 GB, free: 1.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=690): time 0.06375/2.403, allocations: 23.47 MB / 0.9693 GB, free: 360 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/2.404, allocations: 107.8 kB / 0.9694 GB, free: 236 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/2.41, allocations: 2.444 MB / 0.9718 GB, free: 14.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001901/2.412, allocations: 113.7 kB / 0.9719 GB, free: 13.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003097/2.415, allocations: 3.412 MB / 0.9753 GB, free: 10.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004666/2.42, allocations: 2.274 MB / 0.9775 GB, free: 8.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/2.422, allocations: 116 kB / 0.9776 GB, free: 8.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001164/2.423, allocations: 0.5839 MB / 0.9782 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.433, allocations: 4.636 MB / 0.9827 GB, free: 4.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/2.446, allocations: 5.988 MB / 0.9885 GB, free: 14.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/2.458, allocations: 5.633 MB / 0.994 GB, free: 9.449 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.438e-05/2.458, allocations: 12 kB / 0.9941 GB, free: 9.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.388/2.846, allocations: 13.52 MB / 1.007 GB, free: 79.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/2.847, allocations: 24.53 kB / 1.007 GB, free: 79.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/2.847, allocations: 35.75 kB / 1.007 GB, free: 79.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008306/2.855, allocations: 3.846 MB / 1.011 GB, free: 79.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006713/2.862, allocations: 1.125 MB / 1.012 GB, free: 79.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/2.876, allocations: 10.66 MB / 1.023 GB, free: 76.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005644/2.882, allocations: 342.7 kB / 1.023 GB, free: 76.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000988/2.883, allocations: 272.8 kB / 1.023 GB, free: 76.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.001198/2.884, allocations: 442.6 kB / 1.024 GB, free: 76.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009862/2.885, allocations: 430.7 kB / 1.024 GB, free: 76.15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/2.905, allocations: 13.17 MB / 1.037 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01557/2.92, allocations: 11.72 MB / 1.048 GB, free: 75.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/2.92, allocations: 0 / 1.048 GB, free: 75.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-05/2.92, allocations: 26.95 kB / 1.048 GB, free: 75.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04895/2.969, allocations: 26.14 MB / 1.074 GB, free: 70.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.798e-05/2.969, allocations: 0 / 1.074 GB, free: 70.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004199/2.974, allocations: 0.806 MB / 1.075 GB, free: 70.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008062/2.982, allocations: 3.797 MB / 1.078 GB, free: 69.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001742/2.984, allocations: 144.1 kB / 1.078 GB, free: 69.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/2.996, allocations: 10.54 MB / 1.089 GB, free: 63.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.996, allocations: 0 / 1.089 GB, free: 63.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03792/3.034, allocations: 19.65 MB / 1.108 GB, free: 54.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005411/3.039, allocations: 1.548 MB / 1.109 GB, free: 53.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/3.042, allocations: 94.22 kB / 1.11 GB, free: 53.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00469/3.047, allocations: 288.4 kB / 1.11 GB, free: 53.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002315/3.049, allocations: 0.5035 MB / 1.11 GB, free: 53.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001609/3.05, allocations: 185 kB / 1.111 GB, free: 53.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003987/3.054, allocations: 1.844 MB / 1.112 GB, free: 52.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.753e-06/3.055, allocations: 0 / 1.112 GB, free: 52.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01031/3.065, allocations: 1.683 MB / 1.114 GB, free: 50.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/3.067, allocations: 0.541 MB / 1.114 GB, free: 50.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02138/3.089, allocations: 11.33 MB / 1.126 GB, free: 40.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/3.089, allocations: 0 / 1.126 GB, free: 40.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01252/3.101, allocations: 5.86 MB / 1.131 GB, free: 35.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/3.108, allocations: 0.8402 MB / 1.132 GB, free: 34.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04502/3.153, allocations: 17.95 MB / 1.15 GB, free: 18.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/3.166, allocations: 6.517 MB / 1.156 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006927/3.173, allocations: 1.504 MB / 1.157 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/3.175, allocations: 307.4 kB / 1.158 GB, free: 12.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.185e-06/3.175, allocations: 0 / 1.158 GB, free: 12.3 MB / 458.7 MB Notification: Performance of Templates: time 0.5021/3.678, allocations: 104.4 MB / 1.26 GB, free: 62.99 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)