Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0089/0.0089, allocations: 103.4 kB / 15.74 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002397/0.002397, allocations: 192.6 kB / 16.68 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 222.5 MB, free: 4.465 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 50.86 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.05148/0.1591, allocations: 45.33 MB / 418.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03227/0.1914, allocations: 11.73 MB / 430.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01286/0.2043, allocations: 298.9 kB / 430.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03151/0.2359, allocations: 12.39 MB / 443 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0225/0.2585, allocations: 4.844 MB / 447.8 MB, free: 6.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.2716, allocations: 2.976 MB / 450.8 MB, free: 3.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2919/0.5635, allocations: 21.09 MB / 471.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07714/0.6407, allocations: 41.96 MB / 0.5018 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02672/0.6675, allocations: 11 MB / 0.5125 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0333/0.7008, allocations: 12.78 MB / 0.525 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01557/0.7164, allocations: 3.141 MB / 0.5281 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/0.7373, allocations: 3.549 MB / 0.5315 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01397/0.7513, allocations: 6.311 MB / 0.5377 GB, free: 492 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.031/0.7823, allocations: 11.98 MB / 0.5494 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06138/0.8438, allocations: 41.39 MB / 0.5898 GB, free: 12.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.8438, allocations: 0 / 0.5898 GB, free: 12.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.881e-06/0.8438, allocations: 0 / 0.5898 GB, free: 12.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001789/0.8456, allocations: 3.938 kB / 0.5898 GB, free: 12.07 MB / 494.1 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.09387/0.9395, allocations: 24.07 MB / 0.6133 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.9396, allocations: 8.031 kB / 0.6133 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07326/1.013, allocations: 12.33 MB / 0.6254 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4903/1.503, allocations: 12.11 MB / 0.6372 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002244/1.505, allocations: 1.373 MB / 0.6385 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009758/1.515, allocations: 1.801 MB / 0.6403 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07754/1.593, allocations: 30.04 MB / 0.6696 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001162/1.594, allocations: 23.78 kB / 0.6697 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008645/1.603, allocations: 0.7442 MB / 0.6704 GB, free: 144 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/1.604, allocations: 1.026 MB / 0.6714 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05775/1.662, allocations: 27.95 MB / 0.6987 GB, free: 122.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1533/1.815, allocations: 94.25 MB / 0.7907 GB, free: 27.07 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4606/2.276, allocations: 63.43 MB / 0.8527 GB, free: 160.1 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01414/2.29, allocations: 7.464 MB / 0.86 GB, free: 160 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03699/2.327, allocations: 20.5 MB / 0.88 GB, free: 151.3 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/2.327, allocations: 108.2 kB / 0.8801 GB, free: 151.3 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=677): time 8.225e-06/2.327, allocations: 3.938 kB / 0.8801 GB, free: 151.3 MB / 0.5452 GB Notification: Performance of matching and sorting (n=685): time 0.0825/2.41, allocations: 38.28 MB / 0.9175 GB, free: 135.4 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/2.41, allocations: 148.7 kB / 0.9176 GB, free: 135.3 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/2.42, allocations: 7.249 MB / 0.9247 GB, free: 132.7 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001579/2.422, allocations: 137.5 kB / 0.9248 GB, free: 132.6 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004343/2.426, allocations: 7.949 MB / 0.9326 GB, free: 125.7 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.00262/2.429, allocations: 2.338 MB / 0.9349 GB, free: 123.7 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002803/2.432, allocations: 1.928 MB / 0.9368 GB, free: 122.6 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/2.432, allocations: 305.7 kB / 0.9371 GB, free: 122.3 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006442/2.438, allocations: 4.913 MB / 0.9418 GB, free: 117.7 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008165/2.447, allocations: 8.627 MB / 0.9503 GB, free: 107.4 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/2.462, allocations: 14.38 MB / 0.9643 GB, free: 91.25 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/2.462, allocations: 35.5 kB / 0.9643 GB, free: 91.21 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02895/2.491, allocations: 16.39 MB / 0.9804 GB, free: 74.66 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-05/2.491, allocations: 59.66 kB / 0.9804 GB, free: 74.6 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/2.491, allocations: 124 kB / 0.9805 GB, free: 74.48 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/2.497, allocations: 2.589 MB / 0.9831 GB, free: 71.88 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00839/2.505, allocations: 2.176 MB / 0.9852 GB, free: 69.7 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02909/2.535, allocations: 30.78 MB / 1.015 GB, free: 37.82 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007934/2.543, allocations: 0.5467 MB / 1.016 GB, free: 37.27 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/2.545, allocations: 479.9 kB / 1.016 GB, free: 36.8 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01268/2.557, allocations: 6.827 MB / 1.023 GB, free: 29.96 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/2.56, allocations: 0.7678 MB / 1.024 GB, free: 29.19 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/2.58, allocations: 13.1 MB / 1.036 GB, free: 15.88 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01142/2.592, allocations: 8.216 MB / 1.044 GB, free: 7.562 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-05/2.592, allocations: 32 kB / 1.045 GB, free: 7.531 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/2.592, allocations: 35.86 kB / 1.045 GB, free: 7.496 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2942/2.886, allocations: 28 MB / 1.072 GB, free: 150.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/2.886, allocations: 5.969 kB / 1.072 GB, free: 150.1 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004689/2.891, allocations: 1.11 MB / 1.073 GB, free: 150 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006456/2.898, allocations: 2.647 MB / 1.076 GB, free: 149.3 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001423/2.899, allocations: 147.4 kB / 1.076 GB, free: 149.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03253/2.931, allocations: 35.84 MB / 1.111 GB, free: 124 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.932, allocations: 7.812 kB / 1.111 GB, free: 124 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02691/2.958, allocations: 18.8 MB / 1.129 GB, free: 116 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005821/2.964, allocations: 1.768 MB / 1.131 GB, free: 115.4 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.966, allocations: 124.6 kB / 1.131 GB, free: 115.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/2.971, allocations: 396.4 kB / 1.131 GB, free: 115.2 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/2.972, allocations: 0.5279 MB / 1.132 GB, free: 115.2 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005124/2.973, allocations: 194 kB / 1.132 GB, free: 115.1 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.00859/2.981, allocations: 4.869 MB / 1.137 GB, free: 112.9 MB / 0.5452 GB Notification: Performance of sort global known variables: time 5.31e-07/2.981, allocations: 0 / 1.137 GB, free: 112.9 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01387/2.995, allocations: 3.088 MB / 1.14 GB, free: 109.8 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/2.997, allocations: 356.6 kB / 1.14 GB, free: 109.5 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01922/3.016, allocations: 13.53 MB / 1.153 GB, free: 97.04 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/3.016, allocations: 0 / 1.153 GB, free: 97.04 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.01269/3.029, allocations: 7.584 MB / 1.161 GB, free: 89.38 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01348/3.043, allocations: 2.164 MB / 1.163 GB, free: 87.22 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05668/3.099, allocations: 32.29 MB / 1.194 GB, free: 54.92 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02008/3.119, allocations: 11.43 MB / 1.206 GB, free: 43.44 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.009425/3.129, allocations: 3.36 MB / 1.209 GB, free: 40.07 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/3.132, allocations: 0.5697 MB / 1.209 GB, free: 39.5 MB / 0.5452 GB Notification: Performance of SimCode: time 1.322e-06/3.132, allocations: 8 kB / 1.209 GB, free: 39.49 MB / 0.5452 GB Notification: Performance of Templates: time 0.5042/3.636, allocations: 131.1 MB / 1.337 GB, free: 111.9 MB / 0.5608 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)