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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.0009572, allocations: 90.3 kB / 16.31 MB, free: 6.453 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.0009958/0.0009957, allocations: 173.2 kB / 17.2 MB, free: 6.328 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.415/1.415, allocations: 205.4 MB / 223.4 MB, free: 5.566 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.0004457/0.0004457, allocations: 12 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01319/0.2616, allocations: 11.77 MB / 339.5 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009567/0.2712, allocations: 4.417 MB / 343.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.2736, allocations: 67.69 kB / 344 MB, free: 3.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.2762, allocations: 0.8432 MB / 344.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.2799, allocations: 1.119 MB / 345.9 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.2819, allocations: 0.6821 MB / 346.6 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005444/0.2874, allocations: 4.031 MB / 350.7 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.2905, allocations: 2.214 MB / 352.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.2929, allocations: 1.311 MB / 354.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.2957, allocations: 1.677 MB / 355.9 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005538/0.2962, allocations: 208 kB / 356.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.2978, allocations: 423.8 kB / 356.5 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000828/0.2986, allocations: 0.7785 MB / 357.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.2998, allocations: 0.746 MB / 358 MB, free: 5.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00588/0.3057, allocations: 5.543 MB / 363.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3058, allocations: 0 / 363.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3058, allocations: 0 / 363.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001713/0.3059, allocations: 4 kB / 363.5 MB, free: 15.54 MB / 302.1 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.01033/0.3163, allocations: 3.836 MB / 367.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3163, allocations: 8.031 kB / 367.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.321, allocations: 0.827 MB / 368.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.3259, allocations: 2.198 MB / 370.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.3262, allocations: 234.4 kB / 370.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000721/0.3269, allocations: 319.9 kB / 371 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008226/0.3352, allocations: 4.261 MB / 375.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.94e-05/0.3353, allocations: 8 kB / 375.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.3356, allocations: 127.9 kB / 375.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/0.3358, allocations: 162.4 kB / 375.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006769/0.3426, allocations: 3.594 MB / 379.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.3639, allocations: 13.47 MB / 392.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006829/0.3707, allocations: 6.958 MB / 399.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.3731, allocations: 1.39 MB / 400.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006588/0.3797, allocations: 3.848 MB / 404.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/0.3812, allocations: 0.8455 MB / 405.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.627e-06/0.3812, allocations: 0 / 405.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.01302/0.3942, allocations: 6.552 MB / 412.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.3944, allocations: 218.9 kB / 412.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.3975, allocations: 1.899 MB / 414.3 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.3976, allocations: 49.7 kB / 414.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.3991, allocations: 1.474 MB / 415.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.3995, allocations: 489 kB / 416.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.3996, allocations: 28 kB / 416.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3997, allocations: 373.9 kB / 416.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.4008, allocations: 0.6559 MB / 417.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4023, allocations: 1.214 MB / 418.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.4036, allocations: 0.873 MB / 419.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.4036, allocations: 4 kB / 419.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003893/0.4075, allocations: 2.42 MB / 421.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.4075, allocations: 12 kB / 421.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4076, allocations: 23.92 kB / 421.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007651/0.4083, allocations: 291.5 kB / 422.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.4097, allocations: 379.4 kB / 422.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.4155, allocations: 5.848 MB / 428.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.4171, allocations: 103.9 kB / 428.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4172, allocations: 75.94 kB / 428.6 MB, free: 12 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * 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%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001895/0.4191, allocations: 1.039 MB / 429.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.4194, allocations: 197.6 kB / 429.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.4232, allocations: 2.246 MB / 432 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4233, allocations: 12 kB / 432 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4233, allocations: 8 kB / 432 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4233, allocations: 7.969 kB / 432.1 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008031/0.4313, allocations: 5.102 MB / 437.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4314, allocations: 0 / 437.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.4322, allocations: 179.9 kB / 437.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.4334, allocations: 463.9 kB / 437.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.611e-05/0.4335, allocations: 43.97 kB / 437.8 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.4438, allocations: 10.18 MB / 448 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.4439, allocations: 4.031 kB / 448 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.4496, allocations: 3.127 MB / 451.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.4509, allocations: 442.4 kB / 451.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/0.4515, allocations: 35.95 kB / 451.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.4527, allocations: 71.89 kB / 451.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.4531, allocations: 101.2 kB / 451.8 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-05/0.4532, allocations: 43.98 kB / 451.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002646/0.4558, allocations: 1.299 MB / 453.1 MB, free: 2.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4558, allocations: 0 / 453.1 MB, free: 2.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003159/0.459, allocations: 0.5742 MB / 453.7 MB, free: 1.879 MB / 382.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 95 * 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%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.4604, allocations: 471.2 kB / 454.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1858/0.6462, allocations: 2.159 MB / 456.3 MB, free: 111.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.6463, allocations: 3.656 kB / 456.3 MB, free: 111.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.6492, allocations: 1.579 MB / 457.9 MB, free: 111.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.6521, allocations: 0.5135 MB / 458.4 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00976/0.6619, allocations: 7.029 MB / 465.4 MB, free: 107.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.6641, allocations: 2.35 MB / 467.8 MB, free: 106.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001577/0.6657, allocations: 407.2 kB / 468.2 MB, free: 106.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.666, allocations: 135 kB / 468.3 MB, free: 106.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.666, allocations: 4 kB / 468.3 MB, free: 106.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04421/0.7103, allocations: 27.88 MB / 496.2 MB, free: 81.37 MB / 382.1 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)