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.001894/0.001894, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002047/0.002047, allocations: 191.2 kB / 16.25 MB, free: 6.641 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.402/1.402, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.001158/0.001158, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2152, allocations: 46.63 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01432/0.2296, allocations: 13.24 MB / 338.1 MB, free: 6.812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.2397, allocations: 4.652 MB / 342.7 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.2431, allocations: 67.69 kB / 342.8 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.2469, allocations: 0.9837 MB / 343.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.2521, allocations: 1.228 MB / 345 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.255, allocations: 0.8965 MB / 345.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00671/0.2617, allocations: 4.196 MB / 350.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004964/0.2667, allocations: 3.201 MB / 353.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.2694, allocations: 1.799 MB / 355.1 MB, free: 5.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.2721, allocations: 2.141 MB / 357.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.2732, allocations: 0.5039 MB / 357.8 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.2751, allocations: 0.7536 MB / 358.5 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.2763, allocations: 1.134 MB / 359.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.2789, allocations: 2.143 MB / 361.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008196/0.2871, allocations: 6.719 MB / 368.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2871, allocations: 0 / 368.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2872, allocations: 0 / 368.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002161/0.2874, allocations: 0 / 368.5 MB, free: 8.234 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.01309/0.3005, allocations: 4.479 MB / 373 MB, free: 3.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3005, allocations: 8.031 kB / 373 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.3051, allocations: 0.8202 MB / 373.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.3099, allocations: 2.264 MB / 376.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.3101, allocations: 238.4 kB / 376.3 MB, free: 300 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007139/0.3108, allocations: 319.9 kB / 376.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008676/0.3195, allocations: 4.28 MB / 380.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.838e-05/0.3196, allocations: 11.92 kB / 380.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/0.32, allocations: 128 kB / 381 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.3201, allocations: 154.4 kB / 381.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.3266, allocations: 3.621 MB / 384.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/0.3494, allocations: 13.41 MB / 398.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/0.3563, allocations: 6.97 MB / 405.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.3586, allocations: 1.394 MB / 406.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006356/0.3649, allocations: 3.828 MB / 410.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.3663, allocations: 0.8571 MB / 411.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 4.519e-06/0.3663, allocations: 3.938 kB / 411.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=139): time 0.01196/0.3783, allocations: 6.493 MB / 417.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.3784, allocations: 222.9 kB / 418 MB, free: 4.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.3811, allocations: 1.911 MB / 419.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3812, allocations: 49.7 kB / 419.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.3825, allocations: 1.478 MB / 421.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.3829, allocations: 485 kB / 421.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/0.3833, allocations: 307.3 kB / 422.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.3834, allocations: 313.1 kB / 422.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3845, allocations: 0.656 MB / 423.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3859, allocations: 1.218 MB / 424.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.3884, allocations: 1.94 MB / 426.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.3884, allocations: 4 kB / 426.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003812/0.3922, allocations: 2.421 MB / 428.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.3922, allocations: 15.98 kB / 428.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.3923, allocations: 16 kB / 428.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000721/0.393, allocations: 287.3 kB / 429.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.3944, allocations: 383.4 kB / 429.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.4002, allocations: 6.394 MB / 435.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.4018, allocations: 91.92 kB / 435.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.402, allocations: 79.98 kB / 436 MB, free: 1.988 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.001876/0.4039, allocations: 1.031 MB / 437 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.4043, allocations: 197.6 kB / 437.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.4081, allocations: 2.254 MB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.4081, allocations: 12 kB / 439.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.4081, allocations: 8 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4082, allocations: 7.969 kB / 439.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007644/0.4158, allocations: 5.098 MB / 444.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.4159, allocations: 7.984 kB / 444.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.4167, allocations: 175.8 kB / 444.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.4178, allocations: 475.9 kB / 445.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/0.4179, allocations: 39.92 kB / 445.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1658/0.5838, allocations: 11.13 MB / 456.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5838, allocations: 1 kB / 456.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/0.5888, allocations: 3.129 MB / 459.5 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008951/0.5897, allocations: 439.2 kB / 460 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.59, allocations: 38.36 kB / 460 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/0.5909, allocations: 63.5 kB / 460.1 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.5911, allocations: 103.2 kB / 460.2 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/0.5912, allocations: 43.16 kB / 460.2 MB, free: 105.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.5931, allocations: 1.315 MB / 461.5 MB, free: 105.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5931, allocations: 0 / 461.5 MB, free: 105.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002344/0.5955, allocations: 0.5788 MB / 462.1 MB, free: 105.3 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.001116/0.5966, allocations: 487.6 kB / 462.6 MB, free: 105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004453/0.6011, allocations: 2.583 MB / 465.2 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6011, allocations: 0 / 465.2 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.6031, allocations: 1.572 MB / 466.7 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.6054, allocations: 0.5416 MB / 467.3 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/0.6147, allocations: 7.202 MB / 474.5 MB, free: 98.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.6164, allocations: 2.344 MB / 476.8 MB, free: 96.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001452/0.6179, allocations: 409.5 kB / 477.2 MB, free: 96.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.6182, allocations: 133.4 kB / 477.4 MB, free: 96.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6182, allocations: 0 / 477.4 MB, free: 96.17 MB / 382.1 MB Notification: Performance of Templates: time 0.04398/0.6622, allocations: 29.99 MB / 0.4954 GB, free: 66.4 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)