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.0007717/0.0007719, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.0007992/0.0007992, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.322/1.322, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0005024/0.0005029, allocations: 8.422 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08891, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01206/0.101, allocations: 12.58 MB / 340.9 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0078/0.1088, allocations: 4.624 MB / 345.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.1104, allocations: 67.69 kB / 345.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.1128, allocations: 0.9604 MB / 346.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.1165, allocations: 1.24 MB / 347.8 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1187, allocations: 0.8967 MB / 348.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005615/0.1243, allocations: 4.312 MB / 353 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00434/0.1286, allocations: 2.647 MB / 355.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.1313, allocations: 1.334 MB / 357 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.1338, allocations: 1.762 MB / 358.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004139/0.1342, allocations: 208 kB / 359 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.1355, allocations: 459.7 kB / 359.4 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006712/0.1361, allocations: 0.786 MB / 360.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.138, allocations: 1.766 MB / 362 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.1441, allocations: 6.353 MB / 368.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1441, allocations: 8 kB / 368.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1442, allocations: 0 / 368.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.1443, allocations: 0 / 368.3 MB, free: 11.53 MB / 318.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.009513/0.1538, allocations: 3.794 MB / 372.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1539, allocations: 8.031 kB / 372.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.1584, allocations: 0.8279 MB / 372.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/0.1629, allocations: 2.252 MB / 375.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.1631, allocations: 250.3 kB / 375.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/0.1636, allocations: 319.9 kB / 375.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.18/0.3437, allocations: 4.273 MB / 380 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.3438, allocations: 8.922 kB / 380 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/0.3441, allocations: 131.4 kB / 380.2 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.3444, allocations: 155.6 kB / 380.3 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007817/0.3522, allocations: 3.618 MB / 383.9 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.3726, allocations: 13.48 MB / 397.4 MB, free: 37.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005613/0.3782, allocations: 6.955 MB / 404.4 MB, free: 31.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.3801, allocations: 1.389 MB / 405.8 MB, free: 30.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005512/0.3856, allocations: 3.856 MB / 409.6 MB, free: 27.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.3867, allocations: 0.8581 MB / 410.5 MB, free: 27.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.725e-06/0.3867, allocations: 3.188 kB / 410.5 MB, free: 27.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.0107/0.3974, allocations: 6.521 MB / 417 MB, free: 22.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3975, allocations: 218.9 kB / 417.2 MB, free: 21.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.3998, allocations: 1.911 MB / 419.1 MB, free: 19.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.3999, allocations: 53.7 kB / 419.2 MB, free: 19.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008786/0.4007, allocations: 1.472 MB / 420.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.401, allocations: 488.4 kB / 421.1 MB, free: 17.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.4012, allocations: 137.6 kB / 421.3 MB, free: 17.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.4012, allocations: 313 kB / 421.6 MB, free: 17.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008813/0.4021, allocations: 0.6559 MB / 422.2 MB, free: 16.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.4032, allocations: 1.223 MB / 423.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.4055, allocations: 1.936 MB / 425.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.4055, allocations: 8 kB / 425.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005065/0.4106, allocations: 2.432 MB / 427.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.4107, allocations: 14.47 kB / 427.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.4107, allocations: 16 kB / 427.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4119, allocations: 294.8 kB / 428.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.4142, allocations: 383.4 kB / 428.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.421, allocations: 5.855 MB / 434.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.4238, allocations: 99.84 kB / 434.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.424, allocations: 72 kB / 434.5 MB, free: 3.629 MB / 318.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.002742/0.4268, allocations: 1.036 MB / 435.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.4273, allocations: 197.6 kB / 435.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/0.4333, allocations: 2.257 MB / 438 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.4334, allocations: 12 kB / 438 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.4334, allocations: 8 kB / 438 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.4334, allocations: 7.984 kB / 438 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.448, allocations: 5.106 MB / 443.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4481, allocations: 0 / 443.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.4496, allocations: 187.7 kB / 443.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.4519, allocations: 468.8 kB / 443.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.4521, allocations: 43.92 kB / 443.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/0.4698, allocations: 10.2 MB / 454 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4698, allocations: 0 / 454 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009608/0.4795, allocations: 3.135 MB / 457.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/0.4811, allocations: 438.5 kB / 457.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/0.4815, allocations: 43.92 kB / 457.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.4832, allocations: 71.89 kB / 457.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/0.4836, allocations: 97.45 kB / 457.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.4838, allocations: 39.98 kB / 457.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00349/0.4873, allocations: 1.315 MB / 459.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4873, allocations: 3.938 kB / 459.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003398/0.4907, allocations: 0.5846 MB / 459.7 MB, free: 9.488 MB / 350.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.002004/0.4927, allocations: 464.5 kB / 460.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006268/0.499, allocations: 2.171 MB / 462.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4991, allocations: 4 kB / 462.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004295/0.5034, allocations: 1.586 MB / 464 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/0.5083, allocations: 0.4979 MB / 464.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.5276, allocations: 7.36 MB / 471.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004052/0.5317, allocations: 2.356 MB / 474.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00318/0.5349, allocations: 417 kB / 474.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007478/0.5357, allocations: 131.4 kB / 474.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5357, allocations: 0 / 474.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Templates: time 0.09508/0.6308, allocations: 28.56 MB / 0.4915 GB, free: 13.74 MB / 398.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)