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.001131/0.001131, allocations: 103.3 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.001563/0.001564, allocations: 173.3 kB / 15.95 MB, free: 212 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005418/0.000542, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3008, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01367/0.3145, allocations: 10.8 MB / 337.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.3251, allocations: 4.5 MB / 341.7 MB, free: 4.184 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.3284, allocations: 63.75 kB / 341.8 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.3319, allocations: 0.8709 MB / 342.7 MB, free: 3.246 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.3371, allocations: 1.2 MB / 343.9 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.3401, allocations: 0.6937 MB / 344.6 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006389/0.3465, allocations: 2.777 MB / 347.3 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.35, allocations: 2.214 MB / 349.6 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.3524, allocations: 1.269 MB / 350.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.3554, allocations: 1.517 MB / 352.3 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000751/0.3562, allocations: 204 kB / 352.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.3578, allocations: 411.7 kB / 353 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008869/0.3587, allocations: 0.7436 MB / 353.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.36, allocations: 0.746 MB / 354.4 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006847/0.3669, allocations: 5.501 MB / 359.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3669, allocations: 0 / 359.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3669, allocations: 0 / 359.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002087/0.3671, allocations: 0 / 359.9 MB, free: 1.898 MB / 286.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.01334/0.3805, allocations: 3.813 MB / 363.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/0.3806, allocations: 12.03 kB / 363.8 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/0.3864, allocations: 0.8231 MB / 364.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007845/0.3943, allocations: 2.218 MB / 366.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.3948, allocations: 242.4 kB / 367 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/0.3966, allocations: 319.9 kB / 367.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.4117, allocations: 4.237 MB / 371.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.4119, allocations: 4 kB / 371.6 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.413, allocations: 132 kB / 371.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.4132, allocations: 150.4 kB / 371.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.4244, allocations: 3.601 MB / 375.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.4562, allocations: 13.43 MB / 388.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008266/0.4645, allocations: 6.946 MB / 395.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007535/0.4721, allocations: 3.28 MB / 399.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.4738, allocations: 0.9118 MB / 400 MB, free: 8.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=143): time 3.587e-06/0.4738, allocations: 0 / 400 MB, free: 8.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=152): time 0.01485/0.4887, allocations: 6.905 MB / 406.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.4888, allocations: 230.9 kB / 407.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.4929, allocations: 1.839 MB / 409 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.4932, allocations: 49.7 kB / 409.1 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.495, allocations: 1.455 MB / 410.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006892/0.4957, allocations: 0.5199 MB / 411 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4958, allocations: 32 kB / 411.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.496, allocations: 377.9 kB / 411.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.4974, allocations: 0.6949 MB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.4992, allocations: 1.226 MB / 413.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.501, allocations: 0.9277 MB / 414.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.501, allocations: 4 kB / 414.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.006825/0.5078, allocations: 2.502 MB / 416.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.508, allocations: 15.94 kB / 416.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-05/0.5081, allocations: 12 kB / 416.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.5094, allocations: 287.5 kB / 417.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.5119, allocations: 407.3 kB / 417.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008999/0.5209, allocations: 5.918 MB / 423.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.5231, allocations: 104.1 kB / 423.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/0.5235, allocations: 71.98 kB / 423.6 MB, free: 15.76 MB / 366.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.002912/0.5264, allocations: 1.038 MB / 424.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008451/0.5273, allocations: 205.5 kB / 424.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006807/0.5341, allocations: 2.368 MB / 427.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/0.5342, allocations: 16 kB / 427.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-05/0.5343, allocations: 11.94 kB / 427.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/0.5343, allocations: 7.969 kB / 427.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.5522, allocations: 5.447 MB / 432.7 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.5523, allocations: 4 kB / 432.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.5536, allocations: 207.6 kB / 432.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.5554, allocations: 460.2 kB / 433.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/0.5557, allocations: 43.98 kB / 433.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.5711, allocations: 10.29 MB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5712, allocations: 0 / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00797/0.5792, allocations: 3.417 MB / 447.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.5805, allocations: 442.5 kB / 447.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/0.5811, allocations: 32 kB / 447.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.5824, allocations: 71.95 kB / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.5827, allocations: 121 kB / 447.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5828, allocations: 36 kB / 447.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002516/0.5853, allocations: 1.271 MB / 449 MB, free: 5.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5854, allocations: 0 / 449 MB, free: 5.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002871/0.5882, allocations: 0.5861 MB / 449.6 MB, free: 4.676 MB / 382.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.001314/0.5896, allocations: 481.1 kB / 450.1 MB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004758/0.5943, allocations: 2.264 MB / 452.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5944, allocations: 3.938 kB / 452.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.5971, allocations: 1.628 MB / 454 MB, free: 192 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1999/0.7971, allocations: 499.6 kB / 454.5 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.8107, allocations: 7.093 MB / 461.6 MB, free: 106.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.8129, allocations: 2.417 MB / 464 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001726/0.8147, allocations: 428.3 kB / 464.4 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.8152, allocations: 137.2 kB / 464.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8152, allocations: 0 / 464.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of Templates: time 0.04913/0.8643, allocations: 27.86 MB / 492.4 MB, free: 82.47 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: