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.001106/0.001106, allocations: 182.7 kB / 8.353 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.343/1.343, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001591/0.001591, allocations: 132.5 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.526e-05, allocations: 4 kB / 298.1 MB, free: 35.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06705/0.06708, allocations: 44.5 MB / 342.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3081/0.3752, allocations: 106.5 MB / 449.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3755, allocations: 86.25 kB / 449.2 MB, free: 13.45 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.204/0.5795, allocations: 82.05 MB / 0.5188 GB, free: 1.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5795, allocations: 0 / 0.5188 GB, free: 1.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002895/0.5798, allocations: 79.88 kB / 0.5189 GB, free: 1.777 MB / 378.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.01016/0.59, allocations: 3.354 MB / 0.5221 GB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5901, allocations: 12.02 kB / 0.5222 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.5944, allocations: 0.7373 MB / 0.5229 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008821/0.6033, allocations: 3.348 MB / 0.5261 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.6036, allocations: 104 kB / 0.5262 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.6047, allocations: 195.9 kB / 0.5264 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007991/0.6127, allocations: 3.149 MB / 0.5295 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008471/0.6212, allocations: 3.666 MB / 0.5331 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/0.6213, allocations: 7.984 kB / 0.5331 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.6216, allocations: 7.953 kB / 0.5331 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.6218, allocations: 146.4 kB / 0.5332 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2104/0.8321, allocations: 12.87 MB / 0.5458 GB, free: 74.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/0.8376, allocations: 6.792 MB / 0.5524 GB, free: 69.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.8395, allocations: 1.3 MB / 0.5537 GB, free: 69.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006516/0.8461, allocations: 3.739 MB / 0.5574 GB, free: 68.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.8471, allocations: 0.7746 MB / 0.5581 GB, free: 68.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 3.436e-06/0.8472, allocations: 2.438 kB / 0.5581 GB, free: 68.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.009228/0.8564, allocations: 5.24 MB / 0.5632 GB, free: 67.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.8565, allocations: 221.2 kB / 0.5634 GB, free: 67.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.8582, allocations: 1.352 MB / 0.5648 GB, free: 66.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.8584, allocations: 25.7 kB / 0.5648 GB, free: 66.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.8597, allocations: 1.48 MB / 0.5662 GB, free: 66.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.8599, allocations: 457.9 kB / 0.5667 GB, free: 66.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.86, allocations: 6.344 kB / 0.5667 GB, free: 66.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.8601, allocations: 371.8 kB / 0.567 GB, free: 65.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.8609, allocations: 0.6051 MB / 0.5676 GB, free: 65.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.8619, allocations: 1.142 MB / 0.5687 GB, free: 65.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.8633, allocations: 0.9555 MB / 0.5697 GB, free: 65.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.8633, allocations: 5.812 kB / 0.5697 GB, free: 65.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003388/0.8667, allocations: 2.321 MB / 0.5719 GB, free: 64.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.8668, allocations: 45.88 kB / 0.572 GB, free: 64.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.8668, allocations: 18.48 kB / 0.572 GB, free: 64.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.8675, allocations: 287.2 kB / 0.5723 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.8689, allocations: 374.1 kB / 0.5726 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/0.873, allocations: 5.61 MB / 0.5781 GB, free: 61.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.8748, allocations: 70.8 kB / 0.5782 GB, free: 61.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.8749, allocations: 74 kB / 0.5783 GB, free: 61.13 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.0003097/0.8753, allocations: 162.9 kB / 0.5784 GB, free: 61.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.8755, allocations: 175.6 kB / 0.5786 GB, free: 60.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.879, allocations: 2.187 MB / 0.5807 GB, free: 60.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.879, allocations: 10.59 kB / 0.5807 GB, free: 60.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8791, allocations: 7.281 kB / 0.5807 GB, free: 60.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.8791, allocations: 6.938 kB / 0.5807 GB, free: 60.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/0.8858, allocations: 4.678 MB / 0.5853 GB, free: 59.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.8858, allocations: 0 / 0.5853 GB, free: 59.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.8865, allocations: 180.6 kB / 0.5855 GB, free: 59.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/0.8875, allocations: 453.1 kB / 0.5859 GB, free: 59.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/0.8876, allocations: 21.5 kB / 0.5859 GB, free: 59.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006874/0.8945, allocations: 9.748 MB / 0.5955 GB, free: 51.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.8945, allocations: 0 / 0.5955 GB, free: 51.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.8985, allocations: 3.102 MB / 0.5985 GB, free: 49.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.8992, allocations: 419.5 kB / 0.5989 GB, free: 49.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.8994, allocations: 14.36 kB / 0.5989 GB, free: 49.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/0.9002, allocations: 48.06 kB / 0.5989 GB, free: 49.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.9004, allocations: 105.3 kB / 0.599 GB, free: 49.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.9005, allocations: 46.69 kB / 0.5991 GB, free: 49.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.9018, allocations: 1.011 MB / 0.6001 GB, free: 48.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9018, allocations: 0 / 0.6001 GB, free: 48.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001867/0.9037, allocations: 0.5566 MB / 0.6006 GB, free: 48.89 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.0009436/0.9046, allocations: 0.5391 MB / 0.6011 GB, free: 48.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.907, allocations: 2.084 MB / 0.6032 GB, free: 47.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.907, allocations: 0 / 0.6032 GB, free: 47.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.9086, allocations: 1.457 MB / 0.6046 GB, free: 46.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.9103, allocations: 375.8 kB / 0.605 GB, free: 46.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/0.9172, allocations: 4.552 MB / 0.6094 GB, free: 44.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.9188, allocations: 2.41 MB / 0.6118 GB, free: 43.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001367/0.9202, allocations: 379.1 kB / 0.6121 GB, free: 43.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.9205, allocations: 126.8 kB / 0.6122 GB, free: 43.46 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.9205, allocations: 0 / 0.6122 GB, free: 43.46 MB / 394.7 MB Notification: Performance of Templates: time 0.03992/0.9604, allocations: 23.95 MB / 0.6356 GB, free: 36.91 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)