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.006631/0.006632, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00145/0.00145, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.001273/0.001273, allocations: 46.28 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.1007, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04688/0.1476, allocations: 45.33 MB / 418.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03045/0.1781, allocations: 11.73 MB / 430.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01276/0.1909, allocations: 298.9 kB / 430.6 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03001/0.221, allocations: 12.37 MB / 442.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0218/0.2428, allocations: 4.844 MB / 447.8 MB, free: 6.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.2542, allocations: 2.986 MB / 450.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2998/0.554, allocations: 21.09 MB / 471.9 MB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06869/0.6227, allocations: 41.97 MB / 0.5018 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0213/0.6441, allocations: 11 MB / 0.5125 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03948/0.6836, allocations: 12.82 MB / 0.5251 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01575/0.6994, allocations: 3.141 MB / 0.5281 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/0.7196, allocations: 3.547 MB / 0.5316 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01307/0.7327, allocations: 6.301 MB / 0.5377 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03072/0.7635, allocations: 11.99 MB / 0.5494 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06868/0.8322, allocations: 41.49 MB / 0.59 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.8322, allocations: 0 / 0.59 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.8323, allocations: 3.984 kB / 0.59 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001788/0.8341, allocations: 0 / 0.59 GB, free: 11.93 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.0909/0.925, allocations: 24.51 MB / 0.6139 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.9251, allocations: 12.03 kB / 0.6139 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07021/0.9953, allocations: 12.42 MB / 0.626 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5719/1.567, allocations: 12.15 MB / 0.6379 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002537/1.57, allocations: 1.375 MB / 0.6393 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009629/1.579, allocations: 1.808 MB / 0.641 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09133/1.671, allocations: 30.03 MB / 0.6703 GB, free: 144 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001019/1.672, allocations: 25.66 kB / 0.6704 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008409/1.68, allocations: 0.7475 MB / 0.6711 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001284/1.682, allocations: 1.026 MB / 0.6721 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06439/1.746, allocations: 27.95 MB / 0.6994 GB, free: 121 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1545/1.9, allocations: 94.5 MB / 0.7917 GB, free: 26.33 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4717/2.372, allocations: 63.42 MB / 0.8536 GB, free: 158.9 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01461/2.387, allocations: 7.468 MB / 0.8609 GB, free: 158.8 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03834/2.425, allocations: 20.54 MB / 0.881 GB, free: 150.3 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.159e-05/2.425, allocations: 110.1 kB / 0.8811 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=677): time 8.285e-06/2.425, allocations: 0 / 0.8811 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of matching and sorting (n=685): time 0.08324/2.509, allocations: 38.68 MB / 0.9189 GB, free: 134.8 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/2.509, allocations: 149.8 kB / 0.919 GB, free: 134.7 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/2.519, allocations: 7.268 MB / 0.9261 GB, free: 132.1 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/2.52, allocations: 140.3 kB / 0.9262 GB, free: 132 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.003777/2.524, allocations: 8.208 MB / 0.9342 GB, free: 125.7 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002459/2.526, allocations: 2.446 MB / 0.9366 GB, free: 123.6 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002939/2.529, allocations: 1.933 MB / 0.9385 GB, free: 122.5 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.137e-05/2.529, allocations: 312.1 kB / 0.9388 GB, free: 122.2 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006753/2.536, allocations: 4.912 MB / 0.9436 GB, free: 117.7 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009589/2.546, allocations: 8.631 MB / 0.952 GB, free: 107.3 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/2.561, allocations: 14.37 MB / 0.9661 GB, free: 91.17 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.545e-05/2.561, allocations: 39.94 kB / 0.9661 GB, free: 91.13 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.0288/2.59, allocations: 16.43 MB / 0.9822 GB, free: 74.54 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/2.59, allocations: 56.78 kB / 0.9822 GB, free: 74.49 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/2.591, allocations: 123.9 kB / 0.9823 GB, free: 74.37 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/2.597, allocations: 2.59 MB / 0.9849 GB, free: 71.76 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008479/2.606, allocations: 2.18 MB / 0.987 GB, free: 69.58 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/2.636, allocations: 30.8 MB / 1.017 GB, free: 37.68 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008191/2.644, allocations: 0.5464 MB / 1.018 GB, free: 37.14 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/2.646, allocations: 491.9 kB / 1.018 GB, free: 36.66 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.0131/2.659, allocations: 6.812 MB / 1.025 GB, free: 29.83 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0029/2.662, allocations: 0.819 MB / 1.026 GB, free: 29 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/2.689, allocations: 13.1 MB / 1.038 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2714/2.961, allocations: 8.211 MB / 1.046 GB, free: 153.7 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/2.961, allocations: 27.38 kB / 1.046 GB, free: 153.7 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001988/2.961, allocations: 36.31 kB / 1.046 GB, free: 153.7 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05664/3.018, allocations: 28.01 MB / 1.074 GB, free: 146.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.557e-05/3.018, allocations: 4.531 kB / 1.074 GB, free: 146.1 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005514/3.024, allocations: 1.111 MB / 1.075 GB, free: 146 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007979/3.032, allocations: 2.655 MB / 1.077 GB, free: 145.3 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00226/3.034, allocations: 152.5 kB / 1.078 GB, free: 145.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03356/3.068, allocations: 35.86 MB / 1.113 GB, free: 120 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/3.068, allocations: 3.906 kB / 1.113 GB, free: 120 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03027/3.098, allocations: 18.84 MB / 1.131 GB, free: 112.1 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006607/3.105, allocations: 1.802 MB / 1.133 GB, free: 111.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002531/3.107, allocations: 133.3 kB / 1.133 GB, free: 111.4 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005323/3.112, allocations: 396.5 kB / 1.133 GB, free: 111.3 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001563/3.114, allocations: 0.5267 MB / 1.134 GB, free: 111.2 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004965/3.115, allocations: 193 kB / 1.134 GB, free: 111.2 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.008858/3.123, allocations: 4.87 MB / 1.139 GB, free: 109.4 MB / 0.5452 GB Notification: Performance of sort global known variables: time 5.1e-07/3.123, allocations: 0 / 1.139 GB, free: 109.4 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0149/3.138, allocations: 3.086 MB / 1.142 GB, free: 108.5 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.00172/3.14, allocations: 367 kB / 1.142 GB, free: 108.2 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01918/3.159, allocations: 13.54 MB / 1.155 GB, free: 95.27 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/3.159, allocations: 1.406 kB / 1.155 GB, free: 95.27 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/3.171, allocations: 7.605 MB / 1.163 GB, free: 87.57 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/3.185, allocations: 2.162 MB / 1.165 GB, free: 85.42 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05834/3.243, allocations: 32.77 MB / 1.197 GB, free: 52.57 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01698/3.26, allocations: 11.43 MB / 1.208 GB, free: 41.09 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.009382/3.27, allocations: 3.364 MB / 1.211 GB, free: 37.71 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/3.272, allocations: 0.5736 MB / 1.212 GB, free: 37.14 MB / 0.5452 GB Notification: Performance of SimCode: time 1.353e-06/3.272, allocations: 0 / 1.212 GB, free: 37.14 MB / 0.5452 GB Notification: Performance of Templates: time 0.4296/3.702, allocations: 131.1 MB / 1.34 GB, free: 110.5 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)