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.001229/0.001229, allocations: 180.2 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.259/1.259, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001552/0.001552, allocations: 118.4 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08204, allocations: 44.49 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3064/0.3885, allocations: 157 MB / 0.5001 GB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.3889, allocations: 105.7 kB / 0.5002 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.81/2.199, allocations: 0.5738 GB / 1.074 GB, free: 39.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.495e-06/2.199, allocations: 4.047 kB / 1.074 GB, free: 39.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001603/2.201, allocations: 427.2 kB / 1.074 GB, free: 39.32 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.06177/2.263, allocations: 18.03 MB / 1.092 GB, free: 33.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/2.263, allocations: 11.16 kB / 1.092 GB, free: 33.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04419/2.307, allocations: 8.521 MB / 1.1 GB, free: 32.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03721/2.344, allocations: 14.6 MB / 1.115 GB, free: 30.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001753/2.346, allocations: 1.344 MB / 1.116 GB, free: 30.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007657/2.354, allocations: 1.738 MB / 1.118 GB, free: 30.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07913/2.433, allocations: 30.72 MB / 1.148 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008946/2.434, allocations: 23.75 kB / 1.148 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007906/2.442, allocations: 0.7536 MB / 1.148 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/2.443, allocations: 1.194 MB / 1.15 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3459/2.789, allocations: 28.9 MB / 1.178 GB, free: 39.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1619/2.951, allocations: 97.93 MB / 1.273 GB, free: 8.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03362/2.985, allocations: 35.55 MB / 1.308 GB, free: 92 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07949/3.064, allocations: 40 MB / 1.347 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/3.064, allocations: 156.9 kB / 1.347 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1283): time 1.539e-05/3.064, allocations: 0 / 1.347 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1291): time 0.502/3.566, allocations: 106 MB / 1.451 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/3.566, allocations: 191.3 kB / 1.451 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006735/3.573, allocations: 5.016 MB / 1.456 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002009/3.575, allocations: 204.7 kB / 1.456 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003199/3.578, allocations: 6.63 MB / 1.463 GB, free: 71.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004246/3.583, allocations: 4.225 MB / 1.467 GB, free: 68.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008453/3.584, allocations: 217.2 kB / 1.467 GB, free: 68.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000563/3.584, allocations: 0.8072 MB / 1.468 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/3.595, allocations: 8.352 MB / 1.476 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/3.606, allocations: 10.47 MB / 1.486 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/3.619, allocations: 9.954 MB / 1.496 GB, free: 53.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/3.619, allocations: 17.69 kB / 1.496 GB, free: 53.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1574) (initialization): time 0.0412/3.66, allocations: 25.33 MB / 1.521 GB, free: 31.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/3.66, allocations: 31.25 kB / 1.521 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.522e-05/3.66, allocations: 58.25 kB / 1.521 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01428/3.675, allocations: 9.019 MB / 1.529 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008581/3.683, allocations: 1.884 MB / 1.531 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2739/3.957, allocations: 30.66 MB / 1.561 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/3.965, allocations: 0.5516 MB / 1.562 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002547/3.968, allocations: 469.1 kB / 1.562 GB, free: 70.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (992): * Single equations (assignments): 928 * 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.01552/3.984, allocations: 6.752 MB / 1.569 GB, free: 70.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/3.986, allocations: 0.8537 MB / 1.57 GB, free: 70.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04542/4.031, allocations: 25.72 MB / 1.595 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02775/4.059, allocations: 20.29 MB / 1.615 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.746e-05/4.059, allocations: 10.75 kB / 1.615 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001674/4.059, allocations: 53.81 kB / 1.615 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07435/4.134, allocations: 48.95 MB / 1.662 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.634e-05/4.134, allocations: 3.438 kB / 1.662 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005932/4.14, allocations: 1.384 MB / 1.664 GB, free: 42.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/4.154, allocations: 9.133 MB / 1.673 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002309/4.157, allocations: 274.4 kB / 1.673 GB, free: 37.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03023/4.187, allocations: 36.91 MB / 1.709 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/4.187, allocations: 6.156 kB / 1.709 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3168/4.504, allocations: 40.4 MB / 1.748 GB, free: 78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008947/4.513, allocations: 2.829 MB / 1.751 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003264/4.516, allocations: 190.1 kB / 1.751 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007092/4.523, allocations: 0.5144 MB / 1.752 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002619/4.526, allocations: 0.9757 MB / 1.753 GB, free: 77.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009341/4.527, allocations: 339.5 kB / 1.753 GB, free: 77.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006861/4.534, allocations: 3.836 MB / 1.757 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/4.534, allocations: 0 / 1.757 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01367/4.547, allocations: 3.253 MB / 1.76 GB, free: 77.68 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (730): * Single equations (assignments): 664 * 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%) 1,(1,100.0%) 8,(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.002755/4.55, allocations: 0.7493 MB / 1.761 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03158/4.582, allocations: 21.52 MB / 1.782 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/4.582, allocations: 4.594 kB / 1.782 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01977/4.602, allocations: 12.43 MB / 1.794 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00944/4.611, allocations: 1.972 MB / 1.796 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06552/4.677, allocations: 46.08 MB / 1.841 GB, free: 45.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01697/4.694, allocations: 11.93 MB / 1.853 GB, free: 36.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009166/4.703, allocations: 2.649 MB / 1.855 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/4.705, allocations: 0.5557 MB / 1.856 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/4.705, allocations: 0 / 1.856 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.5389/5.244, allocations: 222.5 MB / 2.073 GB, free: 15.81 MB / 0.5261 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)