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.0011/0.001101, allocations: 92.53 kB / 16.3 MB, free: 5.531 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.00105/0.00105, allocations: 184.5 kB / 17.2 MB, free: 5.465 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.468/1.468, allocations: 205.4 MB / 223.4 MB, free: 5.305 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.0004792/0.0004794, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2469, allocations: 47.59 MB / 327.7 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04273/0.2897, allocations: 36.24 MB / 364 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.3185, allocations: 11.39 MB / 375.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01195/0.3305, allocations: 278.9 kB / 375.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.341, allocations: 2.468 MB / 378.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01694/0.358, allocations: 4.149 MB / 382.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008828/0.3669, allocations: 2.031 MB / 384.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03182/0.3987, allocations: 16.61 MB / 400.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06452/0.4633, allocations: 31.66 MB / 432.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/0.4781, allocations: 7.289 MB / 439.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01572/0.4938, allocations: 8.077 MB / 447.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005822/0.4997, allocations: 1.215 MB / 449.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008366/0.5081, allocations: 1.531 MB / 450.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008117/0.5163, allocations: 3.789 MB / 454.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009379/0.5257, allocations: 3.993 MB / 458.4 MB, free: 408 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4126/0.9383, allocations: 34.74 MB / 493.2 MB, free: 29.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9383, allocations: 0 / 493.2 MB, free: 29.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.9384, allocations: 3.938 kB / 493.2 MB, free: 29.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001506/0.9399, allocations: 2.688 kB / 493.2 MB, free: 29.8 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.06269/1.003, allocations: 20.12 MB / 0.5013 GB, free: 20.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.003, allocations: 6.781 kB / 0.5013 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0634/1.066, allocations: 12.14 MB / 0.5131 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/1.093, allocations: 11.86 MB / 0.5247 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/1.095, allocations: 1.367 MB / 0.5261 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007731/1.102, allocations: 1.805 MB / 0.5278 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0792/1.182, allocations: 29.77 MB / 0.5569 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007293/1.182, allocations: 23.19 kB / 0.5569 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006977/1.189, allocations: 0.7435 MB / 0.5576 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001345/1.191, allocations: 1.026 MB / 0.5586 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06559/1.256, allocations: 27.85 MB / 0.5858 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3529/1.609, allocations: 95.64 MB / 0.6792 GB, free: 98.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03579/1.645, allocations: 63.4 MB / 0.7412 GB, free: 36.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04156/1.687, allocations: 20.22 MB / 0.7609 GB, free: 16.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/1.687, allocations: 108.5 kB / 0.761 GB, free: 16.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=697): time 1.702e-05/1.687, allocations: 0 / 0.761 GB, free: 16.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=705): time 0.1047/1.791, allocations: 39.26 MB / 0.7993 GB, free: 8.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/1.792, allocations: 155.2 kB / 0.7995 GB, free: 8.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/1.804, allocations: 7.138 MB / 0.8065 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001293/1.805, allocations: 141.7 kB / 0.8066 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2096/2.015, allocations: 7.918 MB / 0.8143 GB, free: 166 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002849/2.018, allocations: 2.39 MB / 0.8167 GB, free: 164.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/2.019, allocations: 199.7 kB / 0.8168 GB, free: 164.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007211/2.02, allocations: 0.71 MB / 0.8175 GB, free: 164.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008782/2.029, allocations: 4.991 MB / 0.8224 GB, free: 162.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009831/2.039, allocations: 8.646 MB / 0.8309 GB, free: 156.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/2.05, allocations: 6.771 MB / 0.8375 GB, free: 153.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/2.05, allocations: 32.5 kB / 0.8375 GB, free: 153.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.02846/2.078, allocations: 16.53 MB / 0.8536 GB, free: 146.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/2.078, allocations: 61.16 kB / 0.8537 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/2.079, allocations: 118 kB / 0.8538 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006037/2.085, allocations: 2.605 MB / 0.8564 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008384/2.093, allocations: 2.202 MB / 0.8585 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/2.122, allocations: 29.31 MB / 0.8871 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008312/2.13, allocations: 0.5464 MB / 0.8877 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/2.132, allocations: 483.9 kB / 0.8881 GB, free: 113.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 546 * 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 (1141): * Single equations (assignments): 1128 * 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,38.9%) 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.01247/2.145, allocations: 6.83 MB / 0.8948 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/2.147, allocations: 0.7755 MB / 0.8956 GB, free: 106 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02062/2.167, allocations: 13.35 MB / 0.9086 GB, free: 92.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01378/2.181, allocations: 8.356 MB / 0.9168 GB, free: 83.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.033e-05/2.181, allocations: 32 kB / 0.9168 GB, free: 83.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/2.181, allocations: 39.81 kB / 0.9168 GB, free: 83.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06284/2.244, allocations: 28.42 MB / 0.9446 GB, free: 55.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/2.244, allocations: 8.031 kB / 0.9446 GB, free: 55.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005202/2.249, allocations: 1.131 MB / 0.9457 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006106/2.256, allocations: 2.661 MB / 0.9483 GB, free: 51.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.257, allocations: 156 kB / 0.9484 GB, free: 51.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2276/2.484, allocations: 33.81 MB / 0.9815 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/2.484, allocations: 5.391 kB / 0.9815 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/2.511, allocations: 19.74 MB / 1.001 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/2.515, allocations: 1.801 MB / 1.002 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/2.517, allocations: 135 kB / 1.003 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/2.521, allocations: 406.4 kB / 1.003 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/2.522, allocations: 0.54 MB / 1.004 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004257/2.522, allocations: 203 kB / 1.004 GB, free: 144.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007026/2.529, allocations: 4.772 MB / 1.008 GB, free: 143 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/2.529, allocations: 0 / 1.008 GB, free: 143 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00998/2.539, allocations: 3.103 MB / 1.011 GB, free: 142.7 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 (577): * Single equations (assignments): 562 * 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%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.000955/2.54, allocations: 361.5 kB / 1.012 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01726/2.558, allocations: 13.71 MB / 1.025 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.558, allocations: 0 / 1.025 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009896/2.568, allocations: 7.699 MB / 1.033 GB, free: 129.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008283/2.576, allocations: 1.955 MB / 1.035 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05661/2.633, allocations: 38.83 MB / 1.073 GB, free: 92.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01293/2.646, allocations: 11.73 MB / 1.084 GB, free: 80.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009504/2.655, allocations: 3.376 MB / 1.087 GB, free: 77.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/2.657, allocations: 0.5697 MB / 1.088 GB, free: 77.03 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/2.657, allocations: 0 / 1.088 GB, free: 77.03 MB / 494.1 MB Notification: Performance of Templates: time 0.387/3.044, allocations: 127.6 MB / 1.212 GB, free: 134.5 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: