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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001152/0.001152, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.259/1.259, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001555/0.001555, allocations: 118 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09269, allocations: 44.49 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.4042, allocations: 125.9 MB / 481 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4045, allocations: 109.9 kB / 481.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.231/1.636, allocations: 381.5 MB / 0.8424 GB, free: 39.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.205e-06/1.636, allocations: 0 / 0.8424 GB, free: 39.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007593/1.637, allocations: 238.3 kB / 0.8426 GB, free: 39.22 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.0379/1.675, allocations: 10.78 MB / 0.8531 GB, free: 35.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.675, allocations: 9.344 kB / 0.8531 GB, free: 35.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03487/1.709, allocations: 6.313 MB / 0.8593 GB, free: 35.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02449/1.734, allocations: 8.781 MB / 0.8679 GB, free: 34.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/1.735, allocations: 0.8 MB / 0.8687 GB, free: 34.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005061/1.74, allocations: 1.026 MB / 0.8697 GB, free: 34.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04777/1.788, allocations: 19.23 MB / 0.8885 GB, free: 32.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004914/1.789, allocations: 17.69 kB / 0.8885 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00379/1.792, allocations: 451.1 kB / 0.8889 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009727/1.793, allocations: 0.8262 MB / 0.8897 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03657/1.83, allocations: 18.12 MB / 0.9074 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1169/1.947, allocations: 61.39 MB / 0.9673 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.239/2.186, allocations: 25.08 MB / 0.9918 GB, free: 38.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04335/2.229, allocations: 26.53 MB / 1.018 GB, free: 37.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/2.229, allocations: 106 kB / 1.018 GB, free: 37.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=834): time 1.004e-05/2.229, allocations: 0 / 1.018 GB, free: 37.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=840): time 0.08839/2.318, allocations: 48.54 MB / 1.065 GB, free: 26.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/2.318, allocations: 125.7 kB / 1.065 GB, free: 26.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004684/2.323, allocations: 2.7 MB / 1.068 GB, free: 25.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001879/2.325, allocations: 136.2 kB / 1.068 GB, free: 25.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/2.326, allocations: 3.856 MB / 1.072 GB, free: 22.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002879/2.329, allocations: 2.76 MB / 1.075 GB, free: 20.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/2.33, allocations: 142.5 kB / 1.075 GB, free: 20.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004073/2.33, allocations: 0.641 MB / 1.075 GB, free: 19.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007121/2.337, allocations: 5.589 MB / 1.081 GB, free: 17.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009302/2.347, allocations: 7.067 MB / 1.088 GB, free: 13.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009972/2.357, allocations: 6.737 MB / 1.094 GB, free: 10.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-05/2.357, allocations: 13.75 kB / 1.094 GB, free: 10.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.02702/2.384, allocations: 16.23 MB / 1.11 GB, free: 3.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/2.384, allocations: 20.91 kB / 1.11 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.393e-05/2.384, allocations: 40.03 kB / 1.11 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007417/2.391, allocations: 5.028 MB / 1.115 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005665/2.397, allocations: 1.34 MB / 1.116 GB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/2.413, allocations: 12.48 MB / 1.129 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005588/2.419, allocations: 429.9 kB / 1.129 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/2.421, allocations: 317.6 kB / 1.129 GB, free: 6.371 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (706): * Single equations (assignments): 640 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.009046/2.43, allocations: 4.139 MB / 1.133 GB, free: 2.922 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/2.431, allocations: 0.489 MB / 1.134 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2592/2.69, allocations: 17.35 MB / 1.151 GB, free: 66.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02432/2.715, allocations: 14.45 MB / 1.165 GB, free: 66.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/2.715, allocations: 0 / 1.165 GB, free: 66.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/2.715, allocations: 36.53 kB / 1.165 GB, free: 66.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0592/2.774, allocations: 30.88 MB / 1.195 GB, free: 65.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.506e-05/2.774, allocations: 1.594 kB / 1.195 GB, free: 65.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005182/2.779, allocations: 1.018 MB / 1.196 GB, free: 65.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008636/2.788, allocations: 4.833 MB / 1.201 GB, free: 64.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001678/2.79, allocations: 182.2 kB / 1.201 GB, free: 64.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/2.801, allocations: 12.17 MB / 1.213 GB, free: 57.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.801, allocations: 0 / 1.213 GB, free: 57.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03977/2.841, allocations: 23.95 MB / 1.236 GB, free: 47.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006356/2.848, allocations: 1.81 MB / 1.238 GB, free: 46.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008898/2.849, allocations: 119.8 kB / 1.238 GB, free: 46.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/2.851, allocations: 372.4 kB / 1.239 GB, free: 46.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/2.852, allocations: 0.5982 MB / 1.239 GB, free: 46.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005106/2.853, allocations: 228.9 kB / 1.239 GB, free: 46.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002622/2.856, allocations: 2.039 MB / 1.241 GB, free: 45.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.856, allocations: 0 / 1.241 GB, free: 45.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007025/2.863, allocations: 1.995 MB / 1.243 GB, free: 45.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (540): * Single equations (assignments): 474 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/2.864, allocations: 0.5678 MB / 1.244 GB, free: 45.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01738/2.881, allocations: 13.63 MB / 1.257 GB, free: 36.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/2.881, allocations: 7.344 kB / 1.257 GB, free: 36.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009659/2.891, allocations: 7.091 MB / 1.264 GB, free: 30.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/2.895, allocations: 0.9755 MB / 1.265 GB, free: 30.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/2.931, allocations: 27.98 MB / 1.292 GB, free: 5.012 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009463/2.941, allocations: 7.621 MB / 1.3 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006431/2.947, allocations: 1.85 MB / 1.302 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/2.948, allocations: 373.9 kB / 1.302 GB, free: 14.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.243e-06/2.948, allocations: 0 / 1.302 GB, free: 14.35 MB / 474.7 MB Notification: Performance of Templates: time 0.3872/3.336, allocations: 130.6 MB / 1.429 GB, free: 36.94 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)