Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009172, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009296/0.0009296, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004591/0.0004593, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 47.58 MB / 326.5 MB, free: 1.621 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03255/0.2718, allocations: 30.68 MB / 357.2 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.2946, allocations: 9.653 MB / 366.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006845/0.3015, allocations: 231.1 kB / 367 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007372/0.3089, allocations: 2.079 MB / 369.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.3225, allocations: 3.498 MB / 372.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006849/0.3294, allocations: 1.632 MB / 374.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02426/0.3537, allocations: 13.7 MB / 387.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05207/0.4058, allocations: 24.41 MB / 412.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.4172, allocations: 5.712 MB / 418.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.4284, allocations: 6.268 MB / 424.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004313/0.4328, allocations: 0.9375 MB / 425.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006297/0.4391, allocations: 1.246 MB / 426.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005557/0.4447, allocations: 2.928 MB / 429.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006767/0.4515, allocations: 3.104 MB / 432.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4389/0.8904, allocations: 26.94 MB / 459.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8905, allocations: 0.5 kB / 459.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8905, allocations: 0 / 459.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008637/0.8914, allocations: 0.75 kB / 459.5 MB, free: 36.21 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04431/0.9357, allocations: 15.8 MB / 475.3 MB, free: 31.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.9357, allocations: 8.312 kB / 475.3 MB, free: 31.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04945/0.9852, allocations: 9.204 MB / 484.5 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/1.007, allocations: 9.017 MB / 493.5 MB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/1.008, allocations: 1.076 MB / 494.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005581/1.013, allocations: 1.41 MB / 496 MB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05233/1.066, allocations: 23 MB / 0.5068 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000646/1.066, allocations: 20.5 kB / 0.5069 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005029/1.072, allocations: 0.581 MB / 0.5074 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008037/1.072, allocations: 0.8077 MB / 0.5082 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04337/1.116, allocations: 21.63 MB / 0.5293 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1388/1.255, allocations: 74.29 MB / 0.6019 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.242/1.497, allocations: 53.51 MB / 0.6541 GB, free: 136.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0264/1.523, allocations: 15.27 MB / 0.669 GB, free: 131.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/1.523, allocations: 85.31 kB / 0.6691 GB, free: 131.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=514): time 6.983e-06/1.523, allocations: 3.219 kB / 0.6691 GB, free: 131.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=522): time 0.05432/1.578, allocations: 27.3 MB / 0.6958 GB, free: 119.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.578, allocations: 137.4 kB / 0.6959 GB, free: 119.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007658/1.585, allocations: 5.789 MB / 0.7016 GB, free: 117.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008528/1.586, allocations: 115.7 kB / 0.7017 GB, free: 117.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002885/1.589, allocations: 6.269 MB / 0.7078 GB, free: 112.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.591, allocations: 1.787 MB / 0.7096 GB, free: 111.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/1.591, allocations: 156 kB / 0.7097 GB, free: 111 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003088/1.591, allocations: 0.6233 MB / 0.7103 GB, free: 110.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004684/1.596, allocations: 3.754 MB / 0.714 GB, free: 107.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005643/1.602, allocations: 6.793 MB / 0.7206 GB, free: 99.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/1.608, allocations: 5.205 MB / 0.7257 GB, free: 94.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.421e-05/1.608, allocations: 28 kB / 0.7257 GB, free: 94.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.01746/1.625, allocations: 12.53 MB / 0.738 GB, free: 81.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/1.625, allocations: 51.84 kB / 0.738 GB, free: 81.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/1.626, allocations: 104 kB / 0.7381 GB, free: 81.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003677/1.629, allocations: 1.607 MB / 0.7397 GB, free: 79.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005591/1.635, allocations: 1.755 MB / 0.7414 GB, free: 77.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/1.653, allocations: 18.64 MB / 0.7596 GB, free: 58.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006228/1.659, allocations: 447.4 kB / 0.76 GB, free: 58.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.66, allocations: 392 kB / 0.7604 GB, free: 57.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 905 * 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: 5 * 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: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007732/1.668, allocations: 5.252 MB / 0.7655 GB, free: 52.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.669, allocations: 0.6136 MB / 0.7661 GB, free: 51.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.683, allocations: 9.572 MB / 0.7755 GB, free: 42.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007716/1.691, allocations: 5.987 MB / 0.7813 GB, free: 36.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.326e-05/1.691, allocations: 23.94 kB / 0.7813 GB, free: 36.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.649e-05/1.691, allocations: 27.89 kB / 0.7814 GB, free: 36.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/1.726, allocations: 21.37 MB / 0.8022 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.726, allocations: 4 kB / 0.8022 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/1.729, allocations: 0.8901 MB / 0.8031 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004/1.733, allocations: 1.626 MB / 0.8047 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003478/1.733, allocations: 131.9 kB / 0.8048 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2226/1.956, allocations: 21.74 MB / 0.8261 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.956, allocations: 10.75 kB / 0.8261 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/1.976, allocations: 14.93 MB / 0.8406 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004236/1.98, allocations: 1.383 MB / 0.842 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/1.982, allocations: 110.9 kB / 0.8421 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/1.986, allocations: 299.2 kB / 0.8424 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009021/1.987, allocations: 412.5 kB / 0.8428 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/1.987, allocations: 159.9 kB / 0.8429 GB, free: 153.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005946/1.993, allocations: 3.876 MB / 0.8467 GB, free: 152.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.993, allocations: 0 / 0.8467 GB, free: 152.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01119/2.005, allocations: 2.374 MB / 0.849 GB, free: 151.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (451): * Single equations (assignments): 440 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(12,54.9%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/2.006, allocations: 334.6 kB / 0.8494 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01629/2.022, allocations: 10.15 MB / 0.8593 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/2.022, allocations: 2.688 kB / 0.8593 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009382/2.032, allocations: 5.561 MB / 0.8647 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009208/2.041, allocations: 1.482 MB / 0.8662 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05189/2.093, allocations: 30.03 MB / 0.8955 GB, free: 116 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01412/2.107, allocations: 9.17 MB / 0.9044 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009085/2.116, allocations: 2.595 MB / 0.907 GB, free: 107.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/2.118, allocations: 467.3 kB / 0.9074 GB, free: 106.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/2.118, allocations: 0 / 0.9074 GB, free: 106.8 MB / 494.1 MB Notification: Performance of Templates: time 0.3359/2.454, allocations: 95.58 MB / 1.001 GB, free: 172.1 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) Environment - environmentSimulation: