Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.00125, allocations: 192.8 kB / 16.13 MB, free: 6.715 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.351/1.351, allocations: 205.1 MB / 222 MB, free: 4.766 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.001282/0.001283, allocations: 55.91 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2226, allocations: 46.62 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01402/0.2366, allocations: 13.23 MB / 337.9 MB, free: 6.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.2453, allocations: 4.687 MB / 342.6 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.2474, allocations: 71.69 kB / 342.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.2499, allocations: 0.9642 MB / 343.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.2534, allocations: 1.24 MB / 344.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.2556, allocations: 0.9127 MB / 345.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.2606, allocations: 4.312 MB / 350.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/0.2635, allocations: 2.667 MB / 352.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.2657, allocations: 1.522 MB / 354.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.2682, allocations: 1.988 MB / 356.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005792/0.2688, allocations: 300 kB / 356.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2701, allocations: 0.5427 MB / 357.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007566/0.2709, allocations: 0.9071 MB / 358 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.2729, allocations: 1.905 MB / 359.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.2782, allocations: 6.57 MB / 366.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2782, allocations: 0 / 366.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2783, allocations: 0 / 366.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001232/0.2784, allocations: 0 / 366.5 MB, free: 10.14 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.01376/0.2922, allocations: 4.483 MB / 371 MB, free: 5.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2922, allocations: 8.031 kB / 371 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.2966, allocations: 0.8163 MB / 371.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/0.301, allocations: 2.26 MB / 374.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.3012, allocations: 242.4 kB / 374.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006081/0.3019, allocations: 323.9 kB / 374.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007656/0.3095, allocations: 4.276 MB / 378.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-05/0.3096, allocations: 4 kB / 378.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.3099, allocations: 127.9 kB / 379 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.3101, allocations: 158.4 kB / 379.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006019/0.3161, allocations: 3.625 MB / 382.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.3364, allocations: 13.42 MB / 396.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006965/0.3434, allocations: 6.973 MB / 403.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.3456, allocations: 1.39 MB / 404.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006469/0.3521, allocations: 3.821 MB / 408.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.3535, allocations: 0.8571 MB / 409.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.046e-06/0.3535, allocations: 0 / 409.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=139): time 0.01275/0.3663, allocations: 6.493 MB / 415.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3664, allocations: 230.9 kB / 416 MB, free: 6.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.3695, allocations: 1.911 MB / 417.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.854e-05/0.3696, allocations: 45.7 kB / 417.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.371, allocations: 1.47 MB / 419.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.3714, allocations: 489 kB / 419.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/0.3718, allocations: 307.3 kB / 420.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.372, allocations: 305.1 kB / 420.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.3731, allocations: 0.6676 MB / 421.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.3746, allocations: 1.21 MB / 422.4 MB, free: 196 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.3773, allocations: 1.94 MB / 424.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.3773, allocations: 4 kB / 424.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00407/0.3814, allocations: 2.436 MB / 426.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3815, allocations: 12 kB / 426.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.3815, allocations: 12 kB / 426.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/0.3823, allocations: 287.4 kB / 427 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.3837, allocations: 383.4 kB / 427.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/0.3897, allocations: 5.863 MB / 433.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3912, allocations: 87.95 kB / 433.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.3914, allocations: 75.98 kB / 433.4 MB, free: 4.453 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 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001945/0.3933, allocations: 1.039 MB / 434.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.3938, allocations: 205.5 kB / 434.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.3977, allocations: 2.242 MB / 436.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3977, allocations: 12 kB / 436.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.3978, allocations: 8.188 kB / 436.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.3978, allocations: 7.969 kB / 436.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008516/0.4063, allocations: 5.121 MB / 442.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4063, allocations: 4.031 kB / 442.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.4071, allocations: 175.8 kB / 442.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.4083, allocations: 455.9 kB / 442.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4085, allocations: 39.98 kB / 442.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009626/0.4181, allocations: 10.19 MB / 452.9 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4181, allocations: 0 / 452.9 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1966/0.6147, allocations: 3.128 MB / 456 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6161, allocations: 430.2 kB / 456.5 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/0.6168, allocations: 36.94 kB / 456.5 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/0.6187, allocations: 61.42 kB / 456.6 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/0.6192, allocations: 107.1 kB / 456.7 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.6193, allocations: 42.52 kB / 456.7 MB, free: 108.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003546/0.6229, allocations: 1.315 MB / 458 MB, free: 108.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6229, allocations: 1.062 kB / 458 MB, free: 108.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003924/0.6269, allocations: 0.5789 MB / 458.6 MB, free: 108.2 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/0.6288, allocations: 481.3 kB / 459.1 MB, free: 107.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00526/0.6341, allocations: 2.168 MB / 461.2 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6341, allocations: 3.594 kB / 461.2 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003523/0.6377, allocations: 1.573 MB / 462.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.6419, allocations: 0.5092 MB / 463.3 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.6563, allocations: 7.189 MB / 470.5 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002957/0.6593, allocations: 2.354 MB / 472.9 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002728/0.662, allocations: 407.7 kB / 473.3 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.6627, allocations: 142.9 kB / 473.4 MB, free: 99.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6628, allocations: 0 / 473.4 MB, free: 99.93 MB / 382.1 MB Notification: Performance of Templates: time 0.06313/0.7259, allocations: 28.91 MB / 0.4905 GB, free: 71.41 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1)