Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001653/0.001652, 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.002234/0.002233, allocations: 195 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.766/1.766, allocations: 205.1 MB / 222 MB, free: 4.754 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.002145/0.002145, allocations: 47.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.347, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0138/0.3609, allocations: 9.364 MB / 334 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008993/0.3699, allocations: 3.355 MB / 337.4 MB, free: 7.395 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.3717, allocations: 43.75 kB / 337.4 MB, free: 7.352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.3738, allocations: 0.6568 MB / 338.1 MB, free: 6.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.3762, allocations: 0.7229 MB / 338.8 MB, free: 5.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3773, allocations: 403.4 kB / 339.2 MB, free: 5.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.38, allocations: 2.752 MB / 342 MB, free: 2.805 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.3818, allocations: 1.43 MB / 343.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3832, allocations: 0.9533 MB / 344.4 MB, free: 384 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.3849, allocations: 1.347 MB / 345.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.3852, allocations: 172 kB / 345.9 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.386, allocations: 315.7 kB / 346.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.3867, allocations: 0.6892 MB / 346.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.3879, allocations: 1.17 MB / 348 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.3912, allocations: 3.602 MB / 351.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3912, allocations: 3.938 kB / 351.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3912, allocations: 4 kB / 351.6 MB, free: 9.059 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.428e-05/0.3913, allocations: 0 / 351.6 MB, free: 9.059 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.004992/0.3963, allocations: 2.667 MB / 354.3 MB, free: 6.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3964, allocations: 8.031 kB / 354.3 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.397, allocations: 262 kB / 354.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.3991, allocations: 1.303 MB / 355.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3992, allocations: 139.7 kB / 356 MB, free: 4.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.3995, allocations: 191.9 kB / 356.2 MB, free: 4.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.4035, allocations: 2.44 MB / 358.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.4036, allocations: 4 kB / 358.6 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.4037, allocations: 72 kB / 358.7 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.784e-05/0.4038, allocations: 99.61 kB / 358.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.4072, allocations: 1.986 MB / 360.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.4193, allocations: 7.401 MB / 368.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.4213, allocations: 1.348 MB / 369.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.4229, allocations: 0.8973 MB / 370.4 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.4232, allocations: 122.1 kB / 370.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.4244, allocations: 0.6836 MB / 371.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.817e-06/0.4244, allocations: 0 / 371.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01677/0.4412, allocations: 7.346 MB / 378.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.4414, allocations: 196.9 kB / 378.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.4443, allocations: 1.418 MB / 380.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.4445, allocations: 49.7 kB / 380.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4457, allocations: 0.9249 MB / 381.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005674/0.4463, allocations: 429.9 kB / 381.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005154/0.4469, allocations: 243.5 kB / 381.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.4471, allocations: 357.9 kB / 382.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.4482, allocations: 0.6325 MB / 382.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.4498, allocations: 1.011 MB / 383.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.4526, allocations: 1.712 MB / 385.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.4526, allocations: 4 kB / 385.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004774/0.4574, allocations: 2.336 MB / 387.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.4574, allocations: 12.03 kB / 387.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.4575, allocations: 12 kB / 387.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.4589, allocations: 499.9 kB / 388.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.46, allocations: 295.5 kB / 388.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008005/0.468, allocations: 6.581 MB / 395.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4696, allocations: 95.88 kB / 395.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.4698, allocations: 56 kB / 395.4 MB, free: 11.83 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.001596/0.4714, allocations: 0.6262 MB / 396 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/0.472, allocations: 154.1 kB / 396.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.4761, allocations: 2.143 MB / 398.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4762, allocations: 16 kB / 398.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.4762, allocations: 4 kB / 398.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4762, allocations: 7.969 kB / 398.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00869/0.4849, allocations: 4.566 MB / 402.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.4849, allocations: 4 kB / 402.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.4858, allocations: 179.8 kB / 403.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.4872, allocations: 0.5391 MB / 403.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4874, allocations: 35.97 kB / 403.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/0.4959, allocations: 8.01 MB / 411.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.4959, allocations: 7.938 kB / 411.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/0.5014, allocations: 3.085 MB / 414.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.5026, allocations: 371.1 kB / 415.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/0.5032, allocations: 35.98 kB / 415.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.5044, allocations: 75.88 kB / 415.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.5048, allocations: 96.8 kB / 415.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5049, allocations: 39.98 kB / 415.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002172/0.5071, allocations: 0.9753 MB / 416.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5071, allocations: 0 / 416.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002142/0.5092, allocations: 451.9 kB / 416.8 MB, free: 5.562 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.001453/0.5107, allocations: 0.5067 MB / 417.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004059/0.5148, allocations: 2.243 MB / 419.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5148, allocations: 0.6875 kB / 419.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.5174, allocations: 1.51 MB / 421.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.5202, allocations: 400.5 kB / 421.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.5309, allocations: 5.115 MB / 426.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/0.5334, allocations: 1.706 MB / 428.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001447/0.5349, allocations: 321 kB / 428.6 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.5354, allocations: 107.4 kB / 428.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.5354, allocations: 4 kB / 428.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of Templates: time 0.05243/0.5878, allocations: 23.76 MB / 452.5 MB, free: 1.59 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)