Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001106/0.001105, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0005593/0.0005598, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3193, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01006/0.3294, allocations: 8.325 MB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008266/0.3377, allocations: 3.187 MB / 338 MB, free: 7.953 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.3406, allocations: 35.81 kB / 338 MB, free: 7.918 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.3434, allocations: 0.6062 MB / 338.6 MB, free: 7.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.347, allocations: 0.6877 MB / 339.3 MB, free: 6.617 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.3487, allocations: 311.5 kB / 339.6 MB, free: 6.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.3529, allocations: 2.467 MB / 342.1 MB, free: 3.832 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.3552, allocations: 1.224 MB / 343.3 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.357, allocations: 0.8404 MB / 344.2 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.3594, allocations: 1.156 MB / 345.3 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006877/0.3601, allocations: 124 kB / 345.4 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.3614, allocations: 219.9 kB / 345.7 MB, free: 240 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.3625, allocations: 0.6231 MB / 346.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.3635, allocations: 460.6 kB / 346.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.3673, allocations: 2.988 MB / 349.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3673, allocations: 3.938 kB / 349.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3673, allocations: 0 / 349.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.3675, allocations: 4 kB / 349.7 MB, free: 12.15 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00646/0.3739, allocations: 2.289 MB / 352 MB, free: 9.801 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.374, allocations: 8.031 kB / 352 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.3757, allocations: 265.1 kB / 352.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.3794, allocations: 1.252 MB / 353.5 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.3795, allocations: 147.7 kB / 353.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006235/0.3802, allocations: 188 kB / 353.9 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.3859, allocations: 2.42 MB / 356.3 MB, free: 5.441 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.386, allocations: 7.859 kB / 356.3 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.3862, allocations: 87.92 kB / 356.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.3864, allocations: 95.67 kB / 356.5 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.3904, allocations: 1.974 MB / 358.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.4032, allocations: 7.421 MB / 365.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.4052, allocations: 1.356 MB / 367.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4068, allocations: 0.8857 MB / 368.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.4071, allocations: 130.1 kB / 368.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.4083, allocations: 0.6758 MB / 368.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.777e-06/0.4083, allocations: 0 / 368.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01701/0.4254, allocations: 7.417 MB / 376.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4255, allocations: 192.9 kB / 376.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.4279, allocations: 1.407 MB / 377.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.428, allocations: 53.7 kB / 378 MB, free: 15.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009418/0.429, allocations: 0.9248 MB / 378.9 MB, free: 14.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.4294, allocations: 429.9 kB / 379.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.4295, allocations: 24 kB / 379.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4297, allocations: 361.9 kB / 379.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.4307, allocations: 0.6286 MB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.4321, allocations: 0.999 MB / 381.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.4334, allocations: 0.7948 MB / 382.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.4334, allocations: 4 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003934/0.4374, allocations: 2.32 MB / 384.4 MB, free: 8.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4374, allocations: 8.25 kB / 384.4 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.4374, allocations: 16 kB / 384.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4386, allocations: 491.9 kB / 384.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4396, allocations: 295.6 kB / 385.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006754/0.4464, allocations: 6.585 MB / 391.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4478, allocations: 95.91 kB / 391.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.4479, allocations: 52 kB / 392 MB, free: 0.5898 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001455/0.4494, allocations: 0.6343 MB / 392.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/0.4499, allocations: 169.8 kB / 392.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.4538, allocations: 2.123 MB / 394.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.4538, allocations: 12 kB / 394.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.4538, allocations: 4 kB / 394.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4538, allocations: 15.91 kB / 394.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008074/0.4619, allocations: 4.554 MB / 399.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.462, allocations: 4 kB / 399.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/0.4627, allocations: 191.7 kB / 399.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.4641, allocations: 0.535 MB / 400.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.4642, allocations: 35.98 kB / 400.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008333/0.4725, allocations: 8.019 MB / 408.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.4726, allocations: 4 kB / 408.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.4778, allocations: 3.081 MB / 411.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009621/0.4787, allocations: 379.1 kB / 411.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/0.4793, allocations: 28 kB / 411.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4804, allocations: 71.92 kB / 411.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.4807, allocations: 104.8 kB / 411.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-05/0.4808, allocations: 36 kB / 411.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.4827, allocations: 0.9675 MB / 412.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4828, allocations: 0 / 412.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002173/0.4849, allocations: 456 kB / 413.4 MB, free: 10.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.4862, allocations: 469.7 kB / 413.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003822/0.49, allocations: 2.242 MB / 416.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.49, allocations: 2 kB / 416.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.4924, allocations: 1.522 MB / 417.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.4948, allocations: 388.6 kB / 418 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008664/0.5035, allocations: 5.056 MB / 423 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.5056, allocations: 1.706 MB / 424.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001292/0.5069, allocations: 321 kB / 425 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.5073, allocations: 111.4 kB / 425.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5074, allocations: 4 kB / 425.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Templates: time 0.04517/0.5525, allocations: 22.77 MB / 447.9 MB, free: 7.453 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)