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_Start.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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001052/0.001052, allocations: 182.4 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.535/1.535, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001815/0.001815, allocations: 132.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.147e-05, allocations: 4 kB / 305 MB, free: 29.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08363, allocations: 44.5 MB / 349.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.4995, allocations: 156.9 MB / 0.4945 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.4999, allocations: 101 kB / 0.4946 GB, free: 3.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.199/2.699, allocations: 0.5736 GB / 1.068 GB, free: 38.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.914e-06/2.699, allocations: 0 / 1.068 GB, free: 38.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001405/2.7, allocations: 418.2 kB / 1.069 GB, free: 38.75 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.06338/2.764, allocations: 17 MB / 1.085 GB, free: 33.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/2.764, allocations: 11.66 kB / 1.085 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04651/2.81, allocations: 8.469 MB / 1.094 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03529/2.846, allocations: 14.55 MB / 1.108 GB, free: 30.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002084/2.848, allocations: 1.341 MB / 1.109 GB, free: 30.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01028/2.858, allocations: 1.743 MB / 1.111 GB, free: 30.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07605/2.934, allocations: 30.35 MB / 1.14 GB, free: 22.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007249/2.935, allocations: 25.3 kB / 1.14 GB, free: 22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006131/2.941, allocations: 0.7534 MB / 1.141 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/2.942, allocations: 1.194 MB / 1.142 GB, free: 20.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08091/3.023, allocations: 29.02 MB / 1.171 GB, free: 0 / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4994/3.523, allocations: 97.92 MB / 1.266 GB, free: 27.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04037/3.563, allocations: 35.33 MB / 1.301 GB, free: 24.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02044/3.584, allocations: 12.77 MB / 1.313 GB, free: 19.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08062/3.664, allocations: 39.31 MB / 1.352 GB, free: 240 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/3.664, allocations: 141.8 kB / 1.352 GB, free: 124 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1269): time 1.979e-05/3.664, allocations: 0 / 1.352 GB, free: 124 kB / 490.7 MB Notification: Performance of matching and sorting (n=1277): time 0.4645/4.129, allocations: 47.19 MB / 1.398 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/4.129, allocations: 191.6 kB / 1.398 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/4.14, allocations: 4.972 MB / 1.403 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003088/4.143, allocations: 198.7 kB / 1.403 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005181/4.148, allocations: 6.647 MB / 1.41 GB, free: 73.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006037/4.154, allocations: 4.186 MB / 1.414 GB, free: 70.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/4.157, allocations: 216.6 kB / 1.414 GB, free: 70.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001106/4.158, allocations: 0.8078 MB / 1.415 GB, free: 70.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.014/4.172, allocations: 8.151 MB / 1.423 GB, free: 70.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01665/4.188, allocations: 10.3 MB / 1.433 GB, free: 68.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/4.206, allocations: 9.777 MB / 1.442 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001628/4.206, allocations: 15.53 kB / 1.442 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.05107/4.257, allocations: 24.92 MB / 1.467 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/4.257, allocations: 32.58 kB / 1.467 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/4.257, allocations: 54.81 kB / 1.467 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01843/4.276, allocations: 8.954 MB / 1.475 GB, free: 59.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009389/4.285, allocations: 1.864 MB / 1.477 GB, free: 59.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03096/4.316, allocations: 30.39 MB / 1.507 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/4.327, allocations: 0.5522 MB / 1.507 GB, free: 39.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003273/4.33, allocations: 464.6 kB / 1.508 GB, free: 39.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.004548/4.334, allocations: 0.6691 MB / 1.509 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002798/4.337, allocations: 0.8559 MB / 1.509 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04859/4.386, allocations: 25.32 MB / 1.534 GB, free: 21.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03788/4.424, allocations: 20.05 MB / 1.554 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/4.424, allocations: 11.75 kB / 1.554 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002496/4.424, allocations: 52.41 kB / 1.554 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4397/4.864, allocations: 48.73 MB / 1.601 GB, free: 78.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001367/4.864, allocations: 4.031 kB / 1.601 GB, free: 78.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006531/4.871, allocations: 1.352 MB / 1.603 GB, free: 78.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/4.888, allocations: 9.059 MB / 1.612 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002936/4.891, allocations: 274.9 kB / 1.612 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03485/4.926, allocations: 36.51 MB / 1.647 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/4.926, allocations: 2.688 kB / 1.647 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06978/4.996, allocations: 37.7 MB / 1.684 GB, free: 42.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0087/5.005, allocations: 2.813 MB / 1.687 GB, free: 39.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004181/5.009, allocations: 192.6 kB / 1.687 GB, free: 39.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008452/5.018, allocations: 0.5085 MB / 1.688 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004126/5.022, allocations: 0.9662 MB / 1.689 GB, free: 38.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002469/5.024, allocations: 343 kB / 1.689 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007222/5.031, allocations: 3.787 MB / 1.693 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/5.031, allocations: 0 / 1.693 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01723/5.049, allocations: 3.246 MB / 1.696 GB, free: 31.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003784/5.053, allocations: 0.8701 MB / 1.697 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03585/5.088, allocations: 21.08 MB / 1.717 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/5.088, allocations: 0 / 1.717 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02287/5.111, allocations: 12.17 MB / 1.729 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/5.127, allocations: 1.97 MB / 1.731 GB, free: 16 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4215/5.548, allocations: 34.23 MB / 1.764 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01982/5.568, allocations: 11.93 MB / 1.776 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01027/5.579, allocations: 2.635 MB / 1.779 GB, free: 80.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/5.581, allocations: 0.5553 MB / 1.779 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/5.581, allocations: 0 / 1.779 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.6304/6.211, allocations: 210 MB / 1.984 GB, free: 83.27 MB / 0.5105 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)