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.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.2.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.2.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.0008043/0.0008043, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0009334/0.0009335, allocations: 172.7 kB / 15.95 MB, free: 204 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.374/1.374, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.00045/0.0004501, allocations: 15.12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.05101/0.2838, allocations: 33.52 MB / 360 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02792/0.3117, allocations: 9.303 MB / 369.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009643/0.3214, allocations: 239.1 kB / 369.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.3315, allocations: 1.876 MB / 371.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.347, allocations: 3.386 MB / 374.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.3544, allocations: 1.598 MB / 376.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02688/0.3813, allocations: 18.96 MB / 395.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05251/0.4339, allocations: 24.64 MB / 420 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.4454, allocations: 6.148 MB / 426.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.4583, allocations: 7 MB / 433.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004154/0.4625, allocations: 0.9375 MB / 434.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006817/0.4694, allocations: 1.304 MB / 435.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006014/0.4754, allocations: 3.037 MB / 438.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006954/0.4824, allocations: 3.104 MB / 441.5 MB, free: 52 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3907/0.8731, allocations: 27.02 MB / 468.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.8732, allocations: 0.9688 kB / 468.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.8732, allocations: 0 / 468.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001054/0.8743, allocations: 0 / 468.6 MB, free: 36.55 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.0445/0.9188, allocations: 15.88 MB / 484.4 MB, free: 28.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9188, allocations: 9.438 kB / 484.5 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05043/0.9693, allocations: 9.277 MB / 493.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/0.9919, allocations: 8.986 MB / 0.4909 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/0.9931, allocations: 1.077 MB / 0.492 GB, free: 23.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007944/1.001, allocations: 1.417 MB / 0.4934 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06699/1.068, allocations: 23.12 MB / 0.516 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007359/1.069, allocations: 26.52 kB / 0.516 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005637/1.075, allocations: 0.5821 MB / 0.5165 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007647/1.075, allocations: 0.8071 MB / 0.5173 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04974/1.125, allocations: 21.61 MB / 0.5384 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/1.268, allocations: 74.34 MB / 0.611 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2199/1.488, allocations: 53.53 MB / 0.6633 GB, free: 122.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007451/1.495, allocations: 5.433 MB / 0.6686 GB, free: 121.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02215/1.517, allocations: 15.62 MB / 0.6839 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.517, allocations: 89.91 kB / 0.684 GB, free: 113.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 6.251e-06/1.517, allocations: 0 / 0.684 GB, free: 113.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.0555/1.573, allocations: 29.1 MB / 0.7124 GB, free: 94.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.573, allocations: 133.4 kB / 0.7125 GB, free: 94.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0066/1.58, allocations: 5.856 MB / 0.7182 GB, free: 88.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004807/1.58, allocations: 105.7 kB / 0.7183 GB, free: 88.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002537/1.583, allocations: 6.287 MB / 0.7245 GB, free: 82.37 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.584, allocations: 1.764 MB / 0.7262 GB, free: 80.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/1.584, allocations: 156 kB / 0.7263 GB, free: 80.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002872/1.585, allocations: 0.6246 MB / 0.7269 GB, free: 79.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00457/1.589, allocations: 3.71 MB / 0.7306 GB, free: 76.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/1.595, allocations: 6.785 MB / 0.7372 GB, free: 67.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006406/1.601, allocations: 5.158 MB / 0.7422 GB, free: 62.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.112e-05/1.601, allocations: 28 kB / 0.7423 GB, free: 62.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.01797/1.619, allocations: 12.43 MB / 0.7544 GB, free: 50.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/1.619, allocations: 56.11 kB / 0.7544 GB, free: 50.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.619, allocations: 104 kB / 0.7545 GB, free: 50.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003786/1.623, allocations: 1.609 MB / 0.7561 GB, free: 48.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006022/1.629, allocations: 1.743 MB / 0.7578 GB, free: 46.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.648, allocations: 18.2 MB / 0.7756 GB, free: 27.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/1.654, allocations: 451.2 kB / 0.776 GB, free: 27.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.655, allocations: 388 kB / 0.7764 GB, free: 27.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (907): * Single equations (assignments): 897 * 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,53.5%) 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.009489/1.665, allocations: 5.254 MB / 0.7815 GB, free: 21.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002228/1.667, allocations: 0.6059 MB / 0.7821 GB, free: 21.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.682, allocations: 9.454 MB / 0.7914 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008109/1.69, allocations: 5.932 MB / 0.7971 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/1.691, allocations: 31.88 kB / 0.7972 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/1.691, allocations: 23.91 kB / 0.7972 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2643/1.955, allocations: 21.21 MB / 0.8179 GB, free: 148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/1.955, allocations: 7.875 kB / 0.8179 GB, free: 148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003646/1.959, allocations: 0.8648 MB / 0.8188 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004277/1.963, allocations: 1.63 MB / 0.8204 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006457/1.964, allocations: 127.8 kB / 0.8205 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/1.985, allocations: 21.35 MB / 0.8413 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.985, allocations: 13.91 kB / 0.8413 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/2.005, allocations: 13.84 MB / 0.8549 GB, free: 126.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003253/2.008, allocations: 1.381 MB / 0.8562 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/2.009, allocations: 112.1 kB / 0.8563 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/2.012, allocations: 294.4 kB / 0.8566 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/2.013, allocations: 413.6 kB / 0.857 GB, free: 125.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/2.014, allocations: 159.3 kB / 0.8571 GB, free: 125.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005807/2.02, allocations: 3.918 MB / 0.861 GB, free: 121.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/2.02, allocations: 0 / 0.861 GB, free: 121.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009698/2.029, allocations: 2.37 MB / 0.8633 GB, free: 119.5 MB / 478.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 (441): * Single equations (assignments): 430 * 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%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/2.031, allocations: 315.4 kB / 0.8636 GB, free: 119.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01457/2.045, allocations: 10.06 MB / 0.8734 GB, free: 110.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.045, allocations: 2 kB / 0.8734 GB, free: 110.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007921/2.053, allocations: 5.491 MB / 0.8788 GB, free: 105.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007367/2.061, allocations: 1.572 MB / 0.8803 GB, free: 104.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/2.101, allocations: 30.12 MB / 0.9097 GB, free: 75.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008658/2.109, allocations: 8.926 MB / 0.9184 GB, free: 66.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007142/2.117, allocations: 2.595 MB / 0.921 GB, free: 64.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/2.118, allocations: 463.3 kB / 0.9214 GB, free: 63.58 MB / 478.1 MB Notification: Performance of SimCode: time 2.054e-06/2.118, allocations: 0 / 0.9214 GB, free: 63.58 MB / 478.1 MB Notification: Performance of Templates: time 0.3416/2.46, allocations: 96.07 MB / 1.015 GB, free: 141.9 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)