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.0008808/0.0008809, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001001/0.001001, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.559/1.559, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004512/0.0004513, allocations: 12 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2509, allocations: 47.59 MB / 327.1 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04191/0.2928, allocations: 42.79 MB / 369.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02673/0.3196, allocations: 11.53 MB / 381.4 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009945/0.3295, allocations: 286.9 kB / 381.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.3428, allocations: 2.916 MB / 384.6 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01844/0.3613, allocations: 4.401 MB / 389 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009624/0.3709, allocations: 2.64 MB / 391.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02811/0.3991, allocations: 21.51 MB / 413.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06743/0.4665, allocations: 39.45 MB / 452.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4124/0.879, allocations: 7.689 MB / 460.3 MB, free: 30.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01823/0.8973, allocations: 9.373 MB / 469.6 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006458/0.9038, allocations: 1.22 MB / 470.9 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.9139, allocations: 1.622 MB / 472.5 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007451/0.9214, allocations: 3.994 MB / 476.5 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01864/0.9401, allocations: 9.452 MB / 485.9 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04197/0.9821, allocations: 38.81 MB / 0.5124 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9821, allocations: 3.094 kB / 0.5124 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.9821, allocations: 0 / 0.5124 GB, free: 6.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001411/0.9835, allocations: 0 / 0.5124 GB, free: 6.125 MB / 382.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.06656/1.05, allocations: 20.02 MB / 0.532 GB, free: 5.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/1.05, allocations: 12.03 kB / 0.532 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06863/1.119, allocations: 12.34 MB / 0.5441 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03239/1.151, allocations: 12.07 MB / 0.5558 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002102/1.153, allocations: 1.378 MB / 0.5572 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009149/1.163, allocations: 1.813 MB / 0.559 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0873/1.25, allocations: 30.06 MB / 0.5883 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008167/1.251, allocations: 27.28 kB / 0.5883 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008071/1.259, allocations: 0.7457 MB / 0.5891 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001162/1.26, allocations: 1.015 MB / 0.5901 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2772/1.537, allocations: 27.99 MB / 0.6174 GB, free: 146.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/1.677, allocations: 95.74 MB / 0.7109 GB, free: 86.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03577/1.713, allocations: 63.44 MB / 0.7728 GB, free: 17.78 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01092/1.724, allocations: 7.539 MB / 0.7802 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03428/1.758, allocations: 20.71 MB / 0.8004 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.172e-05/1.758, allocations: 108.5 kB / 0.8005 GB, free: 5.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=683): time 7.484e-06/1.758, allocations: 0 / 0.8005 GB, free: 5.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=691): time 0.2821/2.04, allocations: 39.08 MB / 0.8387 GB, free: 150.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/2.04, allocations: 148.8 kB / 0.8388 GB, free: 150.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/2.052, allocations: 7.254 MB / 0.8459 GB, free: 148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001241/2.053, allocations: 138.9 kB / 0.8461 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004017/2.057, allocations: 7.933 MB / 0.8538 GB, free: 142 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002306/2.059, allocations: 2.35 MB / 0.8561 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/2.061, allocations: 0.7964 MB / 0.8569 GB, free: 139.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/2.061, allocations: 301.1 kB / 0.8572 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007364/2.068, allocations: 4.972 MB / 0.862 GB, free: 137.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009629/2.078, allocations: 8.674 MB / 0.8705 GB, free: 130.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/2.095, allocations: 14.48 MB / 0.8846 GB, free: 116.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/2.095, allocations: 36 kB / 0.8847 GB, free: 116.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02809/2.123, allocations: 16.5 MB / 0.9008 GB, free: 101 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/2.124, allocations: 57.5 kB / 0.9008 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/2.124, allocations: 120 kB / 0.9009 GB, free: 100.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006119/2.13, allocations: 2.577 MB / 0.9035 GB, free: 98.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008533/2.138, allocations: 2.176 MB / 0.9056 GB, free: 96.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02868/2.167, allocations: 28.57 MB / 0.9335 GB, free: 66.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007928/2.175, allocations: 0.5502 MB / 0.934 GB, free: 65.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/2.177, allocations: 483.9 kB / 0.9345 GB, free: 65.36 MB / 494.1 MB 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 (1131): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,41.7%), (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.01301/2.19, allocations: 6.819 MB / 0.9411 GB, free: 58.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/2.192, allocations: 0.7833 MB / 0.9419 GB, free: 57.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02211/2.214, allocations: 13.22 MB / 0.9548 GB, free: 44.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01383/2.228, allocations: 8.307 MB / 0.9629 GB, free: 35.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.484e-05/2.228, allocations: 35.94 kB / 0.963 GB, free: 35.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001453/2.228, allocations: 31.88 kB / 0.963 GB, free: 35.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2836/2.512, allocations: 28.2 MB / 0.9905 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/2.512, allocations: 3.969 kB / 0.9905 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00499/2.517, allocations: 1.108 MB / 0.9916 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006761/2.524, allocations: 2.643 MB / 0.9942 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009949/2.525, allocations: 152.3 kB / 0.9943 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03114/2.556, allocations: 33.02 MB / 1.027 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/2.556, allocations: 7.875 kB / 1.027 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02807/2.584, allocations: 18.97 MB / 1.045 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007518/2.591, allocations: 1.775 MB / 1.047 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003411/2.595, allocations: 134.9 kB / 1.047 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005977/2.601, allocations: 406.7 kB / 1.047 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001895/2.603, allocations: 0.5287 MB / 1.048 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006742/2.603, allocations: 195.3 kB / 1.048 GB, free: 110.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01014/2.614, allocations: 4.877 MB / 1.053 GB, free: 107.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/2.614, allocations: 3.219 kB / 1.053 GB, free: 107.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01504/2.629, allocations: 3.089 MB / 1.056 GB, free: 104.2 MB / 494.1 MB 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 (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001754/2.631, allocations: 355.3 kB / 1.056 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02046/2.651, allocations: 13.6 MB / 1.069 GB, free: 91.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.651, allocations: 1.562 kB / 1.069 GB, free: 91.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01115/2.662, allocations: 7.643 MB / 1.077 GB, free: 85.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/2.679, allocations: 2.028 MB / 1.079 GB, free: 83.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06029/2.74, allocations: 40.63 MB / 1.119 GB, free: 44.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/2.752, allocations: 11.43 MB / 1.13 GB, free: 33.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01017/2.762, allocations: 3.368 MB / 1.133 GB, free: 29.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/2.764, allocations: 0.5697 MB / 1.134 GB, free: 29.34 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/2.764, allocations: 0 / 1.134 GB, free: 29.34 MB / 494.1 MB Notification: Performance of Templates: time 0.3993/3.164, allocations: 130.5 MB / 1.261 GB, free: 60.73 MB / 494.1 MB 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)