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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008417/0.0008416, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.0008386/0.0008386, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.545/1.545, allocations: 205.4 MB / 223.4 MB, free: 5.781 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.0006147/0.0006149, allocations: 12 kB / 280.2 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2619, allocations: 47.59 MB / 327.8 MB, free: 1.629 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04084/0.3027, allocations: 39.62 MB / 367.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02737/0.3301, allocations: 10.92 MB / 378.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/0.3404, allocations: 282.9 kB / 378.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.3505, allocations: 2.225 MB / 380.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02021/0.3708, allocations: 4.039 MB / 384.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00931/0.3801, allocations: 2.003 MB / 386.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03471/0.4149, allocations: 23.29 MB / 410.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06827/0.4832, allocations: 31.94 MB / 442.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01682/0.5, allocations: 7.83 MB / 449.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/0.5163, allocations: 8.93 MB / 458.8 MB, free: 144 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3327/0.849, allocations: 1.216 MB / 460.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007937/0.857, allocations: 1.593 MB / 461.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005871/0.8629, allocations: 3.927 MB / 465.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008138/0.8711, allocations: 3.997 MB / 469.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03/0.9011, allocations: 34.83 MB / 0.4926 GB, free: 20.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.9011, allocations: 0 / 0.4926 GB, free: 20.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.9012, allocations: 7.25 kB / 0.4926 GB, free: 20.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001241/0.9024, allocations: 0 / 0.4926 GB, free: 20.89 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.05145/0.9539, allocations: 20.21 MB / 0.5123 GB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9539, allocations: 9.281 kB / 0.5123 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06191/1.016, allocations: 12.34 MB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/1.041, allocations: 11.88 MB / 0.536 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001411/1.043, allocations: 1.376 MB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006498/1.049, allocations: 1.808 MB / 0.5391 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07577/1.125, allocations: 29.92 MB / 0.5683 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008804/1.126, allocations: 23.8 kB / 0.5683 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006727/1.133, allocations: 0.7484 MB / 0.5691 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0012/1.134, allocations: 1.015 MB / 0.5701 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06018/1.194, allocations: 27.84 MB / 0.5972 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3447/1.539, allocations: 95.68 MB / 0.6907 GB, free: 89.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03711/1.576, allocations: 63.39 MB / 0.7526 GB, free: 22.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01174/1.588, allocations: 7.516 MB / 0.7599 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04116/1.629, allocations: 20.71 MB / 0.7802 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/1.629, allocations: 112.5 kB / 0.7803 GB, free: 10.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=683): time 9.087e-06/1.629, allocations: 0 / 0.7803 GB, free: 10.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=691): time 0.3061/1.935, allocations: 43.34 MB / 0.8226 GB, free: 160.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/1.935, allocations: 150.7 kB / 0.8227 GB, free: 160.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.946, allocations: 7.199 MB / 0.8298 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.947, allocations: 137.4 kB / 0.8299 GB, free: 158.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003974/1.951, allocations: 7.935 MB / 0.8376 GB, free: 152.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002202/1.954, allocations: 2.348 MB / 0.8399 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007157/1.954, allocations: 198.8 kB / 0.8401 GB, free: 150.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004488/1.955, allocations: 0.7082 MB / 0.8408 GB, free: 149.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00682/1.962, allocations: 4.929 MB / 0.8456 GB, free: 147.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009255/1.971, allocations: 8.641 MB / 0.8541 GB, free: 141.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009182/1.98, allocations: 6.708 MB / 0.8606 GB, free: 138.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.98, allocations: 38.53 kB / 0.8607 GB, free: 138.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02671/2.007, allocations: 16.41 MB / 0.8767 GB, free: 126.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/2.007, allocations: 56.81 kB / 0.8767 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/2.007, allocations: 122 kB / 0.8769 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005591/2.013, allocations: 2.594 MB / 0.8794 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00797/2.021, allocations: 2.174 MB / 0.8815 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0271/2.048, allocations: 28.55 MB / 0.9094 GB, free: 92.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007996/2.056, allocations: 0.5501 MB / 0.9099 GB, free: 92.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/2.058, allocations: 484 kB / 0.9104 GB, free: 91.89 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 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 initialization (1131): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(1,100.0%) 1,(18,41.7%) 100,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01127/2.069, allocations: 6.819 MB / 0.917 GB, free: 85.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/2.071, allocations: 0.7756 MB / 0.9178 GB, free: 84.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/2.09, allocations: 13.18 MB / 0.9307 GB, free: 70.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01091/2.101, allocations: 8.26 MB / 0.9387 GB, free: 62.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-05/2.101, allocations: 28 kB / 0.9388 GB, free: 62.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.094e-05/2.101, allocations: 43.81 kB / 0.9388 GB, free: 62.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04414/2.145, allocations: 28.14 MB / 0.9663 GB, free: 34.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/2.145, allocations: 4.406 kB / 0.9663 GB, free: 34.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004442/2.15, allocations: 1.108 MB / 0.9674 GB, free: 33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005615/2.155, allocations: 2.641 MB / 0.97 GB, free: 30.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007931/2.156, allocations: 156 kB / 0.9701 GB, free: 30.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2277/2.384, allocations: 32.94 MB / 1.002 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/2.384, allocations: 10.53 kB / 1.002 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02744/2.411, allocations: 18.89 MB / 1.021 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004624/2.416, allocations: 1.779 MB / 1.022 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00198/2.418, allocations: 135.8 kB / 1.023 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004289/2.422, allocations: 411.9 kB / 1.023 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/2.424, allocations: 0.5256 MB / 1.024 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005128/2.424, allocations: 192.7 kB / 1.024 GB, free: 126.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007607/2.432, allocations: 4.817 MB / 1.028 GB, free: 124.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.01e-07/2.432, allocations: 0 / 1.028 GB, free: 124.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01191/2.444, allocations: 3.092 MB / 1.031 GB, free: 124.5 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 (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: 11 {(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/2.445, allocations: 363.7 kB / 1.032 GB, free: 124.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01914/2.465, allocations: 13.55 MB / 1.045 GB, free: 116.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/2.465, allocations: 8 kB / 1.045 GB, free: 116.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/2.475, allocations: 7.608 MB / 1.052 GB, free: 109.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/2.486, allocations: 2.056 MB / 1.054 GB, free: 107.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05981/2.546, allocations: 38.87 MB / 1.092 GB, free: 71.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02073/2.567, allocations: 11.44 MB / 1.104 GB, free: 60.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01238/2.579, allocations: 3.364 MB / 1.107 GB, free: 56.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00295/2.582, allocations: 0.5697 MB / 1.107 GB, free: 56.22 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/2.582, allocations: 5.25 kB / 1.107 GB, free: 56.22 MB / 494.1 MB Notification: Performance of Templates: time 0.4124/2.994, allocations: 127.6 MB / 1.232 GB, free: 91.52 MB / 494.1 MB 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)