Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00156/0.00156, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001924/0.001924, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.333/1.333, allocations: 205.1 MB / 222 MB, free: 4.742 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.001089/0.001089, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.189, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04211/0.2312, allocations: 44.49 MB / 369.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02242/0.2536, allocations: 11.61 MB / 380.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00807/0.2618, allocations: 286.9 kB / 381.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02536/0.2872, allocations: 11.64 MB / 392.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.3014, allocations: 4.424 MB / 397.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007848/0.3092, allocations: 2.752 MB / 399.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02412/0.3334, allocations: 21.52 MB / 421.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05177/0.3852, allocations: 34.57 MB / 456 MB, free: 276 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3307/0.7159, allocations: 9.327 MB / 465.3 MB, free: 31.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01799/0.734, allocations: 11.49 MB / 476.8 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008169/0.7422, allocations: 2.007 MB / 478.8 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.7545, allocations: 2.408 MB / 481.2 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008591/0.7631, allocations: 5.116 MB / 486.3 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01738/0.7806, allocations: 10.77 MB / 497.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03508/0.8157, allocations: 40.35 MB / 0.5249 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.8157, allocations: 4 kB / 0.5249 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8157, allocations: 0 / 0.5249 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001349/0.8171, allocations: 0 / 0.5249 GB, free: 11.01 MB / 398.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.07506/0.8922, allocations: 24.13 MB / 0.5484 GB, free: 2.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.8922, allocations: 12.03 kB / 0.5484 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06651/0.9587, allocations: 12.28 MB / 0.5604 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03144/0.9902, allocations: 12.01 MB / 0.5722 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001863/0.9922, allocations: 1.375 MB / 0.5735 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007015/0.9992, allocations: 1.81 MB / 0.5753 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0718/1.071, allocations: 30.05 MB / 0.6046 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001055/1.072, allocations: 23.81 kB / 0.6047 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007726/1.08, allocations: 0.7498 MB / 0.6054 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/1.081, allocations: 1.011 MB / 0.6064 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2539/1.335, allocations: 27.98 MB / 0.6337 GB, free: 150.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1574/1.492, allocations: 95.42 MB / 0.7269 GB, free: 70.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03893/1.531, allocations: 63.46 MB / 0.7888 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/1.546, allocations: 7.492 MB / 0.7962 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2196/1.765, allocations: 20.69 MB / 0.8164 GB, free: 156.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/1.766, allocations: 115.7 kB / 0.8165 GB, free: 156.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=683): time 7.434e-06/1.766, allocations: 0 / 0.8165 GB, free: 156.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=691): time 0.08843/1.854, allocations: 38.93 MB / 0.8545 GB, free: 140.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/1.854, allocations: 148 kB / 0.8546 GB, free: 140.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.864, allocations: 7.251 MB / 0.8617 GB, free: 138.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001354/1.866, allocations: 137 kB / 0.8619 GB, free: 138.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003577/1.869, allocations: 7.94 MB / 0.8696 GB, free: 132.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00236/1.872, allocations: 2.355 MB / 0.8719 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002843/1.875, allocations: 1.932 MB / 0.8738 GB, free: 129.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/1.875, allocations: 301.1 kB / 0.8741 GB, free: 128.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006409/1.881, allocations: 4.962 MB / 0.8789 GB, free: 124.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008521/1.89, allocations: 8.668 MB / 0.8874 GB, free: 114.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/1.905, allocations: 14.46 MB / 0.9015 GB, free: 98.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/1.905, allocations: 36 kB / 0.9015 GB, free: 98.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02908/1.935, allocations: 16.47 MB / 0.9176 GB, free: 82.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.935, allocations: 59.98 kB / 0.9177 GB, free: 81.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/1.935, allocations: 120 kB / 0.9178 GB, free: 81.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006232/1.941, allocations: 2.571 MB / 0.9203 GB, free: 79.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008069/1.949, allocations: 2.184 MB / 0.9224 GB, free: 77.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/1.978, allocations: 28.54 MB / 0.9503 GB, free: 47.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008187/1.987, allocations: 0.5424 MB / 0.9508 GB, free: 46.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.989, allocations: 488 kB / 0.9513 GB, free: 46.46 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.01283/2.001, allocations: 6.825 MB / 0.958 GB, free: 39.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00256/2.004, allocations: 0.7833 MB / 0.9587 GB, free: 38.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02336/2.027, allocations: 13.17 MB / 0.9716 GB, free: 25.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1952/2.223, allocations: 8.3 MB / 0.9797 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/2.223, allocations: 27.28 kB / 0.9797 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001812/2.223, allocations: 34.66 kB / 0.9798 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05573/2.279, allocations: 28.18 MB / 1.007 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/2.279, allocations: 2.438 kB / 1.007 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005005/2.284, allocations: 1.111 MB / 1.008 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006788/2.291, allocations: 2.645 MB / 1.011 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001267/2.292, allocations: 154.8 kB / 1.011 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03364/2.326, allocations: 32.99 MB / 1.043 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/2.326, allocations: 7.781 kB / 1.043 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03128/2.357, allocations: 18.92 MB / 1.062 GB, free: 101.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004322/2.361, allocations: 1.771 MB / 1.064 GB, free: 99.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002147/2.363, allocations: 127.6 kB / 1.064 GB, free: 99.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004295/2.368, allocations: 395.7 kB / 1.064 GB, free: 99.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001379/2.369, allocations: 0.5262 MB / 1.065 GB, free: 99.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004402/2.37, allocations: 199.6 kB / 1.065 GB, free: 99.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008383/2.378, allocations: 4.867 MB / 1.069 GB, free: 95.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/2.378, allocations: 3.5 kB / 1.069 GB, free: 95.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01115/2.389, allocations: 3.088 MB / 1.073 GB, free: 91.99 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.00108/2.39, allocations: 365.8 kB / 1.073 GB, free: 91.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0179/2.408, allocations: 13.58 MB / 1.086 GB, free: 78.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/2.408, allocations: 3.938 kB / 1.086 GB, free: 78.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009414/2.418, allocations: 7.616 MB / 1.094 GB, free: 70.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009/2.427, allocations: 2.023 MB / 1.096 GB, free: 68.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05306/2.48, allocations: 40.45 MB / 1.135 GB, free: 28.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01682/2.497, allocations: 11.43 MB / 1.146 GB, free: 16.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01164/2.508, allocations: 3.368 MB / 1.149 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/2.511, allocations: 0.5697 MB / 1.15 GB, free: 12.86 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/2.511, allocations: 0 / 1.15 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Templates: time 0.362/2.873, allocations: 132.7 MB / 1.28 GB, free: 44.35 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)