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.001773/0.001773, allocations: 103.3 kB / 16.62 MB, free: 6.805 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.002358/0.002359, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.355/1.355, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001141/0.001141, allocations: 55.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.08925, allocations: 46.63 MB / 326.2 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01533/0.1046, allocations: 13.23 MB / 339.4 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.1138, allocations: 4.662 MB / 344 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.1159, allocations: 67.69 kB / 344.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.1186, allocations: 0.976 MB / 345.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.1223, allocations: 1.232 MB / 346.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.1245, allocations: 0.8928 MB / 347.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005279/0.1298, allocations: 4.195 MB / 351.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003419/0.1332, allocations: 3.205 MB / 354.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.1357, allocations: 1.799 MB / 356.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.1381, allocations: 2.137 MB / 358.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.1387, allocations: 0.5078 MB / 359.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.1406, allocations: 0.7536 MB / 359.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.1419, allocations: 1.141 MB / 361 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003159/0.1451, allocations: 2.136 MB / 363.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009166/0.1542, allocations: 6.718 MB / 369.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.1543, allocations: 0 / 369.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1543, allocations: 0 / 369.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001914/0.1545, allocations: 0 / 369.8 MB, free: 8.887 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.01648/0.171, allocations: 4.479 MB / 374.3 MB, free: 4.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.1711, allocations: 8.031 kB / 374.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007461/0.1786, allocations: 0.824 MB / 375.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/0.1841, allocations: 2.253 MB / 377.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.1843, allocations: 246.4 kB / 377.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.1855, allocations: 315.9 kB / 377.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.189/0.3744, allocations: 4.286 MB / 382.2 MB, free: 47.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.442e-05/0.3746, allocations: 0.6562 kB / 382.2 MB, free: 47.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.3749, allocations: 128.3 kB / 382.3 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.3751, allocations: 153.1 kB / 382.5 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006437/0.3815, allocations: 3.623 MB / 386.1 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.3987, allocations: 13.43 MB / 399.5 MB, free: 37.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005244/0.404, allocations: 6.955 MB / 406.5 MB, free: 31.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.4058, allocations: 1.382 MB / 407.9 MB, free: 30.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005103/0.4109, allocations: 3.842 MB / 411.7 MB, free: 27.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.412, allocations: 0.8494 MB / 412.6 MB, free: 26.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.966e-06/0.412, allocations: 0 / 412.6 MB, free: 26.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.009972/0.422, allocations: 6.505 MB / 419.1 MB, free: 19.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.422, allocations: 222.9 kB / 419.3 MB, free: 19.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.4244, allocations: 1.907 MB / 421.2 MB, free: 17.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.4244, allocations: 53.7 kB / 421.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000913/0.4254, allocations: 1.47 MB / 422.7 MB, free: 16.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.4256, allocations: 488.2 kB / 423.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.426, allocations: 307.3 kB / 423.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.4261, allocations: 313 kB / 423.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008618/0.427, allocations: 0.6559 MB / 424.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4281, allocations: 1.214 MB / 425.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.4301, allocations: 1.938 MB / 427.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4301, allocations: 5.969 kB / 427.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00312/0.4333, allocations: 2.438 MB / 430.1 MB, free: 8.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4333, allocations: 12 kB / 430.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.4333, allocations: 12 kB / 430.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.434, allocations: 288.3 kB / 430.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4352, allocations: 387.4 kB / 430.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.4395, allocations: 6.371 MB / 437.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4409, allocations: 95.92 kB / 437.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.441, allocations: 75.94 kB / 437.3 MB, free: 0.793 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.001836/0.4429, allocations: 1.043 MB / 438.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.4434, allocations: 201.5 kB / 438.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/0.4475, allocations: 2.242 MB / 440.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.4475, allocations: 16 kB / 440.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.4475, allocations: 7.938 kB / 440.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.4475, allocations: 11.97 kB / 440.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008896/0.4564, allocations: 5.098 MB / 445.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4565, allocations: 0 / 445.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.4573, allocations: 187.9 kB / 446.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4585, allocations: 466.5 kB / 446.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.4587, allocations: 39.98 kB / 446.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.4698, allocations: 11.14 MB / 457.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4699, allocations: 5.062 kB / 457.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/0.475, allocations: 3.133 MB / 460.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/0.476, allocations: 426.5 kB / 461.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.4765, allocations: 45.67 kB / 461.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.4777, allocations: 67.95 kB / 461.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.478, allocations: 97.11 kB / 461.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/0.4781, allocations: 39.98 kB / 461.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002512/0.4806, allocations: 1.319 MB / 462.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4806, allocations: 0 / 462.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002353/0.483, allocations: 0.5846 MB / 463.4 MB, free: 5.723 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.001225/0.4842, allocations: 469.8 kB / 463.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005393/0.4896, allocations: 2.59 MB / 466.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4896, allocations: 0 / 466.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.492, allocations: 1.567 MB / 468 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.495, allocations: 0.5374 MB / 468.6 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.5075, allocations: 7.2 MB / 475.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/0.5103, allocations: 2.352 MB / 478.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001691/0.512, allocations: 417 kB / 478.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.5125, allocations: 131.4 kB / 478.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5125, allocations: 0 / 478.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of Templates: time 0.05303/0.5656, allocations: 29.99 MB / 0.4967 GB, free: 8.305 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)