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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001376/0.001376, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.487/1.487, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001741/0.001741, allocations: 47.94 kB / 278.3 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2479, allocations: 46.63 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04307/0.291, allocations: 44.49 MB / 369.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03117/0.3222, allocations: 11.57 MB / 380.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01705/0.3393, allocations: 282.9 kB / 381.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02937/0.3688, allocations: 11.65 MB / 392.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.3894, allocations: 4.382 MB / 397.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.4011, allocations: 2.741 MB / 400 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03094/0.432, allocations: 21.15 MB / 421.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5149/0.9469, allocations: 47.04 MB / 468.2 MB, free: 22.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01988/0.9669, allocations: 10.98 MB / 479.2 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02143/0.9883, allocations: 12.24 MB / 491.4 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01354/1.002, allocations: 3.136 MB / 494.5 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/1.018, allocations: 3.546 MB / 498.1 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01234/1.03, allocations: 6.316 MB / 0.4926 GB, free: 19.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02456/1.055, allocations: 11.98 MB / 0.5043 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04765/1.102, allocations: 41.14 MB / 0.5445 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.102, allocations: 0 / 0.5445 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.102, allocations: 0 / 0.5445 GB, free: 4.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001296/1.104, allocations: 0 / 0.5445 GB, free: 4.781 MB / 414.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.07603/1.18, allocations: 24.13 MB / 0.568 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.18, allocations: 12.03 kB / 0.568 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06709/1.247, allocations: 12.28 MB / 0.58 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02776/1.275, allocations: 12.02 MB / 0.5918 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001828/1.277, allocations: 1.382 MB / 0.5931 GB, free: 3.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007544/1.284, allocations: 1.809 MB / 0.5949 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3845/1.669, allocations: 30.05 MB / 0.6242 GB, free: 146.7 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007626/1.669, allocations: 21.47 kB / 0.6243 GB, free: 146.7 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006433/1.676, allocations: 0.7552 MB / 0.625 GB, free: 146.1 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009765/1.677, allocations: 1.011 MB / 0.626 GB, free: 146 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04888/1.726, allocations: 27.97 MB / 0.6533 GB, free: 133.5 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.137/1.863, allocations: 95.41 MB / 0.7465 GB, free: 43.44 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2181/2.081, allocations: 63.47 MB / 0.8084 GB, free: 143.3 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01337/2.094, allocations: 7.495 MB / 0.8158 GB, free: 143.1 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03438/2.129, allocations: 20.67 MB / 0.836 GB, free: 134 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.674e-05/2.129, allocations: 112 kB / 0.8361 GB, free: 134 MB / 494.3 MB Notification: Performance of pre-optimization done (n=683): time 1.003e-05/2.129, allocations: 0 / 0.8361 GB, free: 134 MB / 494.3 MB Notification: Performance of matching and sorting (n=691): time 0.08427/2.213, allocations: 38.94 MB / 0.8741 GB, free: 117.9 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/2.213, allocations: 151.3 kB / 0.8742 GB, free: 117.8 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/2.226, allocations: 7.249 MB / 0.8813 GB, free: 112.2 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001197/2.227, allocations: 137.7 kB / 0.8814 GB, free: 112.1 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003542/2.231, allocations: 7.944 MB / 0.8892 GB, free: 104.1 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002217/2.233, allocations: 2.354 MB / 0.8915 GB, free: 101.8 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003164/2.236, allocations: 1.933 MB / 0.8934 GB, free: 99.81 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 4.253e-05/2.236, allocations: 301.1 kB / 0.8937 GB, free: 99.52 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006445/2.243, allocations: 4.954 MB / 0.8985 GB, free: 94.55 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009449/2.252, allocations: 8.667 MB / 0.907 GB, free: 84.18 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/2.268, allocations: 14.45 MB / 0.9211 GB, free: 67.94 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-05/2.268, allocations: 32 kB / 0.9211 GB, free: 67.91 MB / 494.3 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02437/2.292, allocations: 16.48 MB / 0.9372 GB, free: 51.27 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/2.292, allocations: 60 kB / 0.9373 GB, free: 51.21 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/2.292, allocations: 124 kB / 0.9374 GB, free: 51.09 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005492/2.298, allocations: 2.596 MB / 0.9399 GB, free: 48.46 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007988/2.306, allocations: 2.18 MB / 0.9421 GB, free: 46.28 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02867/2.335, allocations: 30.78 MB / 0.9721 GB, free: 14.38 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007216/2.342, allocations: 0.5501 MB / 0.9727 GB, free: 13.83 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/2.343, allocations: 488 kB / 0.9731 GB, free: 13.36 MB / 494.3 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.2607/2.604, allocations: 6.814 MB / 0.9798 GB, free: 138.4 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002331/2.606, allocations: 0.7754 MB / 0.9805 GB, free: 138.4 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/2.628, allocations: 13.18 MB / 0.9934 GB, free: 135.1 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01239/2.641, allocations: 8.303 MB / 1.002 GB, free: 131.8 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-05/2.641, allocations: 31.53 kB / 1.002 GB, free: 131.8 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/2.641, allocations: 35.91 kB / 1.002 GB, free: 131.8 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04825/2.689, allocations: 28.18 MB / 1.029 GB, free: 120.3 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/2.689, allocations: 7 kB / 1.029 GB, free: 120.3 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004811/2.694, allocations: 1.103 MB / 1.03 GB, free: 120.2 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/2.7, allocations: 2.665 MB / 1.033 GB, free: 119.4 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008332/2.701, allocations: 157.8 kB / 1.033 GB, free: 119.3 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03035/2.731, allocations: 35.86 MB / 1.068 GB, free: 89.49 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.731, allocations: 4 kB / 1.068 GB, free: 89.49 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02893/2.76, allocations: 18.93 MB / 1.086 GB, free: 70.75 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005332/2.766, allocations: 1.771 MB / 1.088 GB, free: 69.38 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00236/2.768, allocations: 124 kB / 1.088 GB, free: 69.25 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004564/2.773, allocations: 395.6 kB / 1.089 GB, free: 68.87 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001418/2.774, allocations: 0.5336 MB / 1.089 GB, free: 68.32 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004626/2.775, allocations: 196 kB / 1.089 GB, free: 68.13 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.006657/2.781, allocations: 4.867 MB / 1.094 GB, free: 63.3 MB / 494.3 MB Notification: Performance of sort global known variables: time 5.01e-07/2.781, allocations: 0 / 1.094 GB, free: 63.3 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01047/2.792, allocations: 3.095 MB / 1.097 GB, free: 60.21 MB / 494.3 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.00121/2.793, allocations: 360 kB / 1.097 GB, free: 59.86 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.04741/2.84, allocations: 25.35 MB / 1.122 GB, free: 34.46 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/2.84, allocations: 1.531 kB / 1.122 GB, free: 34.46 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.01/2.85, allocations: 7.63 MB / 1.13 GB, free: 26.72 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/2.861, allocations: 2.154 MB / 1.132 GB, free: 24.57 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2388/3.099, allocations: 40.44 MB / 1.171 GB, free: 139 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01982/3.119, allocations: 11.43 MB / 1.182 GB, free: 137.9 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01322/3.133, allocations: 3.361 MB / 1.186 GB, free: 137.6 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003583/3.136, allocations: 0.5727 MB / 1.186 GB, free: 137.6 MB / 0.4983 GB Notification: Performance of SimCode: time 8.72e-07/3.136, allocations: 0 / 1.186 GB, free: 137.6 MB / 0.4983 GB Notification: Performance of Templates: time 0.1886/3.325, allocations: 137.3 MB / 1.32 GB, free: 21.15 MB / 0.4983 GB 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)