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.00229/0.00229, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003013/0.003013, allocations: 192.8 kB / 16.14 MB, free: 6.707 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.98/1.98, allocations: 205.1 MB / 222 MB, free: 4.98 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.002371/0.002371, allocations: 55.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3453, allocations: 46.62 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01409/0.3594, allocations: 9.369 MB / 334.1 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3704, allocations: 3.357 MB / 337.4 MB, free: 7.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/0.3736, allocations: 39.81 kB / 337.4 MB, free: 7.379 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.377, allocations: 0.6529 MB / 338.1 MB, free: 6.723 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.3815, allocations: 0.7228 MB / 338.8 MB, free: 5.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.3837, allocations: 407.5 kB / 339.2 MB, free: 5.598 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00604/0.3898, allocations: 2.744 MB / 342 MB, free: 2.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.3921, allocations: 1.434 MB / 343.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.3945, allocations: 0.9611 MB / 344.4 MB, free: 408 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.3972, allocations: 1.339 MB / 345.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005314/0.3977, allocations: 176 kB / 345.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.3989, allocations: 319.8 kB / 346.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009094/0.3999, allocations: 0.6815 MB / 346.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.4018, allocations: 1.17 MB / 348 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.4062, allocations: 3.61 MB / 351.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4062, allocations: 4 kB / 351.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4062, allocations: 0 / 351.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001174/0.4063, allocations: 0 / 351.6 MB, free: 9.086 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.006702/0.413, allocations: 2.659 MB / 354.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4131, allocations: 8.031 kB / 354.3 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.4139, allocations: 266 kB / 354.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.4164, allocations: 1.303 MB / 355.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4165, allocations: 139.7 kB / 356 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.4169, allocations: 195.9 kB / 356.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.4214, allocations: 2.432 MB / 358.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.031e-05/0.4215, allocations: 3.984 kB / 358.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.4217, allocations: 80 kB / 358.7 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.4218, allocations: 91.69 kB / 358.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.4256, allocations: 1.986 MB / 360.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.4392, allocations: 7.405 MB / 368.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.4412, allocations: 1.352 MB / 369.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4428, allocations: 0.8895 MB / 370.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.443, allocations: 122.1 kB / 370.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.4442, allocations: 0.6875 MB / 371.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.326e-06/0.4442, allocations: 0 / 371.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01726/0.4614, allocations: 7.346 MB / 378.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.4616, allocations: 196.9 kB / 378.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.4639, allocations: 1.422 MB / 380.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.4641, allocations: 45.7 kB / 380.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.4652, allocations: 0.9288 MB / 381.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006179/0.4658, allocations: 425.9 kB / 381.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005349/0.4664, allocations: 243.5 kB / 381.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003163/0.4667, allocations: 365.9 kB / 382.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.4679, allocations: 0.6325 MB / 382.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.4695, allocations: 1.003 MB / 383.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.4719, allocations: 1.712 MB / 385.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.472, allocations: 4 kB / 385.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005015/0.477, allocations: 2.34 MB / 387.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4771, allocations: 15.98 kB / 387.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.4771, allocations: 11.94 kB / 387.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.4786, allocations: 492 kB / 388.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4798, allocations: 291.5 kB / 388.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007817/0.4877, allocations: 6.581 MB / 395.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.4897, allocations: 103.9 kB / 395.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.4899, allocations: 48 kB / 395.4 MB, free: 11.86 MB / 334.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 ($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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001461/0.4914, allocations: 0.6301 MB / 396 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/0.4919, allocations: 158.1 kB / 396.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.4958, allocations: 2.143 MB / 398.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.4959, allocations: 15.98 kB / 398.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.4959, allocations: 4 kB / 398.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.4959, allocations: 11.97 kB / 398.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008912/0.5048, allocations: 4.558 MB / 402.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5049, allocations: 4 kB / 402.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/0.5057, allocations: 187.8 kB / 403.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.5072, allocations: 0.5314 MB / 403.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.5073, allocations: 31.98 kB / 403.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008708/0.516, allocations: 8.018 MB / 411.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5161, allocations: 4 kB / 411.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005788/0.5219, allocations: 3.089 MB / 414.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.5232, allocations: 367.1 kB / 415.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.5235, allocations: 35.98 kB / 415.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.5243, allocations: 75.88 kB / 415.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.5246, allocations: 92.8 kB / 415.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.5247, allocations: 39.98 kB / 415.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.5263, allocations: 0.9792 MB / 416.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5263, allocations: 4 kB / 416.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002087/0.5284, allocations: 455.9 kB / 416.8 MB, free: 5.586 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 (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.5298, allocations: 0.4952 MB / 417.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004032/0.5338, allocations: 2.24 MB / 419.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.5339, allocations: 4.312 kB / 419.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.5365, allocations: 1.518 MB / 421.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.5391, allocations: 408.5 kB / 421.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5506, allocations: 5.099 MB / 426.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.5523, allocations: 1.706 MB / 428.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001366/0.5537, allocations: 333 kB / 428.6 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.5541, allocations: 111.4 kB / 428.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5541, allocations: 0 / 428.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of Templates: time 0.05247/0.6065, allocations: 23.76 MB / 452.5 MB, free: 1.621 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)