Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001022/0.001022, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.344/1.344, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.115e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07206/0.0721, allocations: 44.52 MB / 349.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.3718, allocations: 107.2 MB / 456.6 MB, free: 4.637 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.3721, allocations: 81.45 kB / 456.7 MB, free: 4.598 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1933/0.5654, allocations: 83.09 MB / 0.5272 GB, free: 7.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5654, allocations: 0 / 0.5272 GB, free: 7.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000223/0.5657, allocations: 79.88 kB / 0.5272 GB, free: 7.559 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.008405/0.5741, allocations: 3.354 MB / 0.5305 GB, free: 4.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5741, allocations: 8.031 kB / 0.5305 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.578, allocations: 0.745 MB / 0.5312 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2337/0.8117, allocations: 3.334 MB / 0.5345 GB, free: 72.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000471/0.8122, allocations: 245.8 kB / 0.5347 GB, free: 72.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.8137, allocations: 319.8 kB / 0.535 GB, free: 72.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007715/0.8214, allocations: 4.135 MB / 0.5391 GB, free: 71.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.8215, allocations: 9.125 kB / 0.5391 GB, free: 71.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.8219, allocations: 133.4 kB / 0.5392 GB, free: 71.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.822, allocations: 149.4 kB / 0.5394 GB, free: 71.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005728/0.8277, allocations: 3.328 MB / 0.5426 GB, free: 71.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.8479, allocations: 13.5 MB / 0.5558 GB, free: 69.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.8529, allocations: 6.889 MB / 0.5625 GB, free: 64.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.8546, allocations: 1.349 MB / 0.5638 GB, free: 64.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005218/0.8598, allocations: 3.846 MB / 0.5676 GB, free: 63.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009665/0.8608, allocations: 0.8161 MB / 0.5684 GB, free: 63.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 3.025e-06/0.8608, allocations: 2.969 kB / 0.5684 GB, free: 63.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.007045/0.8679, allocations: 5.053 MB / 0.5733 GB, free: 61.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.868, allocations: 219.6 kB / 0.5735 GB, free: 61.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.87, allocations: 1.643 MB / 0.5751 GB, free: 60.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.8701, allocations: 52.58 kB / 0.5752 GB, free: 60.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009524/0.871, allocations: 1.486 MB / 0.5766 GB, free: 59.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.8713, allocations: 482.5 kB / 0.5771 GB, free: 59.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.8714, allocations: 34.97 kB / 0.5771 GB, free: 59.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.8715, allocations: 373.2 kB / 0.5775 GB, free: 59.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/0.8723, allocations: 0.6385 MB / 0.5781 GB, free: 58.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.8734, allocations: 1.187 MB / 0.5793 GB, free: 58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8745, allocations: 0.8974 MB / 0.5802 GB, free: 57.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.8745, allocations: 8.906 kB / 0.5802 GB, free: 57.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003087/0.8776, allocations: 2.414 MB / 0.5825 GB, free: 56.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.8777, allocations: 47 kB / 0.5826 GB, free: 56.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.8777, allocations: 17.59 kB / 0.5826 GB, free: 56.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.8783, allocations: 287.1 kB / 0.5829 GB, free: 56.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.8795, allocations: 376.3 kB / 0.5832 GB, free: 56.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.8835, allocations: 5.832 MB / 0.5889 GB, free: 51.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.885, allocations: 96.97 kB / 0.589 GB, free: 51.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8852, allocations: 79.44 kB / 0.5891 GB, free: 51.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.8854, allocations: 213.1 kB / 0.5893 GB, free: 51.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.8856, allocations: 194.9 kB / 0.5895 GB, free: 51.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.8889, allocations: 2.194 MB / 0.5916 GB, free: 50.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.889, allocations: 14.75 kB / 0.5916 GB, free: 50.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.889, allocations: 10.59 kB / 0.5916 GB, free: 50.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.889, allocations: 6.188 kB / 0.5916 GB, free: 50.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.8954, allocations: 5.116 MB / 0.5966 GB, free: 47.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.8955, allocations: 3.469 kB / 0.5966 GB, free: 47.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.8962, allocations: 181.5 kB / 0.5968 GB, free: 47.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009988/0.8972, allocations: 454.6 kB / 0.5972 GB, free: 47.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/0.8973, allocations: 44.98 kB / 0.5973 GB, free: 47.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.9043, allocations: 10.13 MB / 0.6072 GB, free: 39.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9043, allocations: 2.344 kB / 0.6072 GB, free: 39.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/0.9085, allocations: 3.104 MB / 0.6102 GB, free: 37.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/0.9095, allocations: 441 kB / 0.6106 GB, free: 37.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.9097, allocations: 34.12 kB / 0.6107 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.9106, allocations: 74.08 kB / 0.6107 GB, free: 37.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.9108, allocations: 96.75 kB / 0.6108 GB, free: 37.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.9109, allocations: 47.11 kB / 0.6109 GB, free: 37.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001794/0.9127, allocations: 1.262 MB / 0.6121 GB, free: 36.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9127, allocations: 0 / 0.6121 GB, free: 36.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002221/0.915, allocations: 0.6362 MB / 0.6127 GB, free: 36.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.9162, allocations: 0.6391 MB / 0.6134 GB, free: 36.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.9189, allocations: 2.2 MB / 0.6155 GB, free: 35.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9189, allocations: 0 / 0.6155 GB, free: 35.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.9207, allocations: 1.523 MB / 0.617 GB, free: 34.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.9225, allocations: 0.4966 MB / 0.6175 GB, free: 34.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.9298, allocations: 4.65 MB / 0.622 GB, free: 32.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.9314, allocations: 2.413 MB / 0.6244 GB, free: 31.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001422/0.9328, allocations: 410.9 kB / 0.6248 GB, free: 30.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.9332, allocations: 134 kB / 0.6249 GB, free: 30.96 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9332, allocations: 0 / 0.6249 GB, free: 30.96 MB / 394.7 MB Notification: Performance of Templates: time 0.0454/0.9786, allocations: 31.04 MB / 0.6552 GB, free: 15.27 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1)