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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001094/0.001094, allocations: 178.9 kB / 16.38 MB, free: 5.762 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.272/1.272, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.001634/0.001634, allocations: 115.9 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08414, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.4117, allocations: 141.1 MB / 496.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.4121, allocations: 104.5 kB / 496.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173/1.585, allocations: 352 MB / 0.8283 GB, free: 30.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.585, allocations: 0 / 0.8283 GB, free: 30.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006997/1.586, allocations: 246.6 kB / 0.8286 GB, free: 30.7 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03537/1.621, allocations: 10.94 MB / 0.8392 GB, free: 27.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.621, allocations: 9.969 kB / 0.8392 GB, free: 27.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/1.651, allocations: 5.402 MB / 0.8445 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/1.672, allocations: 9.427 MB / 0.8537 GB, free: 25.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009721/1.673, allocations: 0.7916 MB / 0.8545 GB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003985/1.677, allocations: 1.046 MB / 0.8555 GB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03917/1.716, allocations: 17.94 MB / 0.873 GB, free: 24.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/1.717, allocations: 17.03 kB / 0.8731 GB, free: 24.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/1.718, allocations: 452.4 kB / 0.8735 GB, free: 24.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009385/1.719, allocations: 0.7296 MB / 0.8742 GB, free: 24.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03111/1.75, allocations: 16.74 MB / 0.8906 GB, free: 24.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09087/1.841, allocations: 58.34 MB / 0.9475 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02302/1.864, allocations: 23.48 MB / 0.9705 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2665/2.131, allocations: 21.79 MB / 0.9917 GB, free: 58.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/2.131, allocations: 100.8 kB / 0.9918 GB, free: 57.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=672): time 8.496e-06/2.131, allocations: 0 / 0.9918 GB, free: 57.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=697): time 0.07366/2.205, allocations: 39.11 MB / 1.03 GB, free: 50.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/2.205, allocations: 153.2 kB / 1.03 GB, free: 50.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/2.211, allocations: 3.599 MB / 1.034 GB, free: 50.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001624/2.213, allocations: 124.6 kB / 1.034 GB, free: 50.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002681/2.215, allocations: 4.213 MB / 1.038 GB, free: 48.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0034/2.219, allocations: 2.316 MB / 1.04 GB, free: 46.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007208/2.22, allocations: 137 kB / 1.04 GB, free: 46.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005369/2.22, allocations: 0.5953 MB / 1.041 GB, free: 46.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006937/2.227, allocations: 4.57 MB / 1.045 GB, free: 46.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008166/2.235, allocations: 6.122 MB / 1.051 GB, free: 44.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008158/2.243, allocations: 5.581 MB / 1.057 GB, free: 44.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/2.244, allocations: 14.41 kB / 1.057 GB, free: 44.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02284/2.266, allocations: 14.02 MB / 1.07 GB, free: 43.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/2.266, allocations: 25.56 kB / 1.071 GB, free: 43.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.769e-05/2.267, allocations: 42.66 kB / 1.071 GB, free: 43.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/2.274, allocations: 4.036 MB / 1.074 GB, free: 41.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005639/2.28, allocations: 1.32 MB / 1.076 GB, free: 41.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/2.296, allocations: 16.96 MB / 1.092 GB, free: 30.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006181/2.302, allocations: 357.2 kB / 1.093 GB, free: 30.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/2.303, allocations: 297 kB / 1.093 GB, free: 30.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * 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 (675): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(7,59.2%) 28,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.008243/2.312, allocations: 3.927 MB / 1.097 GB, free: 28.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/2.313, allocations: 0.532 MB / 1.097 GB, free: 28.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/2.331, allocations: 13.41 MB / 1.11 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/2.331, allocations: 154 kB / 1.111 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/2.332, allocations: 7.719 kB / 1.111 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/2.332, allocations: 34.81 kB / 1.111 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03704/2.369, allocations: 26.92 MB / 1.137 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/2.369, allocations: 4 kB / 1.137 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/2.372, allocations: 0.8778 MB / 1.138 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008368/2.381, allocations: 4.008 MB / 1.142 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/2.382, allocations: 156.5 kB / 1.142 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.242/2.624, allocations: 21.1 MB / 1.162 GB, free: 66.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.995e-05/2.624, allocations: 9.906 kB / 1.162 GB, free: 66.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02756/2.652, allocations: 20.23 MB / 1.182 GB, free: 65.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005707/2.657, allocations: 1.665 MB / 1.184 GB, free: 65.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002323/2.66, allocations: 108.8 kB / 1.184 GB, free: 65.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004565/2.664, allocations: 306.7 kB / 1.184 GB, free: 65.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/2.666, allocations: 0.5122 MB / 1.185 GB, free: 65.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007857/2.667, allocations: 188.9 kB / 1.185 GB, free: 65.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005033/2.672, allocations: 2.727 MB / 1.188 GB, free: 65.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.672, allocations: 2.562 kB / 1.188 GB, free: 65.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009603/2.681, allocations: 1.996 MB / 1.19 GB, free: 65.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,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 (455): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/2.684, allocations: 0.5573 MB / 1.19 GB, free: 64.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02089/2.704, allocations: 11.83 MB / 1.202 GB, free: 64.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/2.704, allocations: 6.906 kB / 1.202 GB, free: 64.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01187/2.716, allocations: 6.697 MB / 1.208 GB, free: 63.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008043/2.724, allocations: 1.179 MB / 1.209 GB, free: 63.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05101/2.775, allocations: 26.82 MB / 1.235 GB, free: 53.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/2.789, allocations: 7.124 MB / 1.242 GB, free: 52.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007666/2.797, allocations: 1.662 MB / 1.244 GB, free: 52.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002246/2.799, allocations: 388 kB / 1.244 GB, free: 52.72 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/2.799, allocations: 0 / 1.244 GB, free: 52.72 MB / 474.7 MB Notification: Performance of Templates: time 0.4049/3.204, allocations: 121.2 MB / 1.363 GB, free: 64.56 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)