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.0008209/0.0008209, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008955/0.0008955, allocations: 172.7 kB / 15.95 MB, free: 208 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.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004546/0.0004546, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2056, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.0122/0.2179, allocations: 11.78 MB / 338.3 MB, free: 7.699 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.2261, allocations: 4.401 MB / 342.7 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.228, allocations: 67.69 kB / 342.7 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.2306, allocations: 0.8354 MB / 343.6 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.2341, allocations: 1.135 MB / 344.7 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.2362, allocations: 0.6782 MB / 345.4 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005143/0.2414, allocations: 4.039 MB / 349.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.2447, allocations: 2.21 MB / 351.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.2467, allocations: 1.315 MB / 352.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.2493, allocations: 1.677 MB / 354.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006438/0.2499, allocations: 208 kB / 354.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.2512, allocations: 423.8 kB / 355.2 MB, free: 6.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006972/0.2519, allocations: 0.7746 MB / 356 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008009/0.2527, allocations: 0.746 MB / 356.7 MB, free: 5.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.2574, allocations: 5.539 MB / 362.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2575, allocations: 0 / 362.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2575, allocations: 0 / 362.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.643e-05/0.2576, allocations: 4 kB / 362.3 MB, free: 15.55 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.008382/0.2659, allocations: 3.836 MB / 366.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.266, allocations: 12.03 kB / 366.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004209/0.2702, allocations: 0.8231 MB / 367 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/0.274, allocations: 2.191 MB / 369.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.2742, allocations: 242.4 kB / 369.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005162/0.2747, allocations: 323.8 kB / 369.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007585/0.2823, allocations: 4.265 MB / 374 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.2824, allocations: 7.938 kB / 374 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.2827, allocations: 124 kB / 374.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/0.2829, allocations: 154.4 kB / 374.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/0.289, allocations: 3.598 MB / 377.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.3096, allocations: 13.47 MB / 391.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.3165, allocations: 6.954 MB / 398.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.3187, allocations: 1.386 MB / 399.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006396/0.3251, allocations: 3.852 MB / 403.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.3266, allocations: 0.8455 MB / 404.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 2.785e-06/0.3266, allocations: 0 / 404.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.01275/0.3394, allocations: 6.552 MB / 410.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3395, allocations: 222.9 kB / 411.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.3422, allocations: 1.899 MB / 413 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.3423, allocations: 53.7 kB / 413.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.3436, allocations: 1.47 MB / 414.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.3441, allocations: 481 kB / 415 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.3441, allocations: 36 kB / 415.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3444, allocations: 373.9 kB / 415.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3455, allocations: 0.6597 MB / 416.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.3471, allocations: 1.206 MB / 417.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.3485, allocations: 0.8691 MB / 418.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.3485, allocations: 8 kB / 418.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00392/0.3524, allocations: 2.424 MB / 420.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3525, allocations: 15.94 kB / 420.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.3525, allocations: 20 kB / 420.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/0.3533, allocations: 287.3 kB / 420.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.3547, allocations: 383.4 kB / 421.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005504/0.3602, allocations: 5.848 MB / 427.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.3616, allocations: 95.86 kB / 427.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3617, allocations: 76 kB / 427.3 MB, free: 12.02 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.00185/0.3636, allocations: 1.039 MB / 428.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.364, allocations: 197.6 kB / 428.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.3678, allocations: 2.242 MB / 430.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3679, allocations: 20 kB / 430.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.3679, allocations: 11.98 kB / 430.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.3679, allocations: 3.984 kB / 430.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007756/0.3757, allocations: 5.106 MB / 435.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3757, allocations: 0 / 435.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.3765, allocations: 179.8 kB / 436.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.3777, allocations: 472.2 kB / 436.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/0.3778, allocations: 35.98 kB / 436.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.3879, allocations: 10.18 MB / 446.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3879, allocations: 4.031 kB / 446.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006437/0.3944, allocations: 3.123 MB / 449.9 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.3957, allocations: 442.4 kB / 450.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.3961, allocations: 43.88 kB / 450.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.3973, allocations: 63.95 kB / 450.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.3976, allocations: 105.2 kB / 450.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.3977, allocations: 39.98 kB / 450.6 MB, free: 3.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002958/0.4007, allocations: 1.303 MB / 451.9 MB, free: 2.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4007, allocations: 0 / 451.9 MB, free: 2.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003288/0.404, allocations: 0.5742 MB / 452.4 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.0012/0.4052, allocations: 471.5 kB / 452.9 MB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1604/0.5656, allocations: 2.158 MB / 455.1 MB, free: 114.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5657, allocations: 0.5 kB / 455.1 MB, free: 114.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.5684, allocations: 1.582 MB / 456.6 MB, free: 113.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.5708, allocations: 0.5114 MB / 457.1 MB, free: 113.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/0.5806, allocations: 7.025 MB / 464.2 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.5825, allocations: 2.349 MB / 466.5 MB, free: 109.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001605/0.5841, allocations: 413.2 kB / 466.9 MB, free: 109.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.5844, allocations: 131.7 kB / 467.1 MB, free: 109.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5845, allocations: 3.172 kB / 467.1 MB, free: 109.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04097/0.6254, allocations: 27.89 MB / 494.9 MB, free: 84.43 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)