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.001236/0.001236, allocations: 93.41 kB / 16.3 MB, free: 5.996 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.001238/0.001238, allocations: 179.9 kB / 17.2 MB, free: 5.914 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.463/1.463, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0005105/0.0005106, allocations: 12 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09578, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01281/0.1086, allocations: 10.8 MB / 338.5 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1188, allocations: 4.495 MB / 343 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/0.1224, allocations: 63.69 kB / 343.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.1261, allocations: 0.8709 MB / 343.9 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.131, allocations: 1.203 MB / 345.1 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.1337, allocations: 0.6898 MB / 345.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006556/0.1403, allocations: 2.788 MB / 348.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004195/0.1445, allocations: 2.206 MB / 350.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.147, allocations: 1.273 MB / 352.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.1498, allocations: 1.517 MB / 353.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008045/0.1507, allocations: 204 kB / 353.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.1524, allocations: 407.7 kB / 354.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.1537, allocations: 0.7397 MB / 354.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.1554, allocations: 0.7421 MB / 355.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006916/0.1624, allocations: 5.508 MB / 361.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1624, allocations: 0 / 361.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1624, allocations: 0 / 361.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002424/0.1626, allocations: 3.938 kB / 361.2 MB, free: 2.457 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.01132/0.174, allocations: 3.821 MB / 365 MB, free: 14.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.174, allocations: 8.031 kB / 365 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.1792, allocations: 0.8193 MB / 365.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/0.1847, allocations: 2.214 MB / 368.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.185, allocations: 238.4 kB / 368.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009997/0.186, allocations: 323.8 kB / 368.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.1964, allocations: 4.237 MB / 372.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.1965, allocations: 7.891 kB / 372.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006282/0.1972, allocations: 136 kB / 373 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.1974, allocations: 154.4 kB / 373.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/0.205, allocations: 3.594 MB / 376.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1902/0.3952, allocations: 13.42 MB / 390.2 MB, free: 42.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/0.4024, allocations: 6.943 MB / 397.1 MB, free: 35.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006684/0.4091, allocations: 3.286 MB / 400.4 MB, free: 33.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/0.4107, allocations: 0.9084 MB / 401.3 MB, free: 33.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=143): time 5.56e-06/0.4108, allocations: 0 / 401.3 MB, free: 33.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=152): time 0.01321/0.424, allocations: 6.905 MB / 408.2 MB, free: 28.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4241, allocations: 232.6 kB / 408.4 MB, free: 28.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.4267, allocations: 1.84 MB / 410.3 MB, free: 27.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.4268, allocations: 56.91 kB / 410.3 MB, free: 27.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.4278, allocations: 1.446 MB / 411.8 MB, free: 26.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.4282, allocations: 0.5154 MB / 412.3 MB, free: 25.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.4283, allocations: 35.38 kB / 412.3 MB, free: 25.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4284, allocations: 375.2 kB / 412.7 MB, free: 25.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4294, allocations: 0.6972 MB / 413.4 MB, free: 25.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.4306, allocations: 1.229 MB / 414.6 MB, free: 23.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4319, allocations: 0.9219 MB / 415.5 MB, free: 23.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.4319, allocations: 4 kB / 415.5 MB, free: 23.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003438/0.4354, allocations: 2.502 MB / 418 MB, free: 20.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4354, allocations: 15.98 kB / 418.1 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.4355, allocations: 12 kB / 418.1 MB, free: 20.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.4362, allocations: 287.4 kB / 418.3 MB, free: 20.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.4376, allocations: 399.4 kB / 418.7 MB, free: 20.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.4418, allocations: 5.937 MB / 424.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4433, allocations: 100 kB / 424.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.4435, allocations: 68 kB / 424.8 MB, free: 13.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (204): * Single equations (assignments): 200 * 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%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00169/0.4452, allocations: 1.036 MB / 425.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.4455, allocations: 205.4 kB / 426.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.4493, allocations: 2.368 MB / 428.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.4494, allocations: 16 kB / 428.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.419e-05/0.4494, allocations: 12.31 kB / 428.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.4494, allocations: 7.969 kB / 428.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009355/0.4588, allocations: 5.455 MB / 433.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4588, allocations: 4.031 kB / 433.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.4597, allocations: 207.7 kB / 434.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.461, allocations: 462.4 kB / 434.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.4611, allocations: 43.94 kB / 434.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009949/0.4711, allocations: 10.27 MB / 444.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4712, allocations: 4.062 kB / 444.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.4773, allocations: 3.42 MB / 448.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.4785, allocations: 438.5 kB / 448.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/0.4791, allocations: 35.98 kB / 448.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.4802, allocations: 71.95 kB / 448.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.4806, allocations: 117.1 kB / 449 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4807, allocations: 41.2 kB / 449 MB, free: 4.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002541/0.4833, allocations: 1.267 MB / 450.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.923e-06/0.4833, allocations: 0 / 450.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003016/0.4863, allocations: 0.594 MB / 450.9 MB, free: 2.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 107 * 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%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/0.4876, allocations: 478.7 kB / 451.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004397/0.4921, allocations: 2.26 MB / 453.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.4921, allocations: 4.125 kB / 453.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.4948, allocations: 1.623 MB / 455.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.4975, allocations: 0.4984 MB / 455.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5108, allocations: 7.102 MB / 462.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.5141, allocations: 2.415 MB / 465.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00192/0.5161, allocations: 413.2 kB / 465.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.5166, allocations: 135.4 kB / 465.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5167, allocations: 4 kB / 465.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of Templates: time 0.05422/0.5709, allocations: 27.86 MB / 493.6 MB, free: 7.652 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: