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.01151/0.01151, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001649/0.00165, allocations: 194.9 kB / 16.67 MB, free: 5.52 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.977/1.977, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001361/0.001362, allocations: 55.92 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1646, allocations: 46.62 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.367/0.5317, allocations: 9.416 MB / 382.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.5425, allocations: 3.395 MB / 386 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.546, allocations: 42.78 kB / 386 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003531/0.5497, allocations: 0.761 MB / 386.8 MB, free: 5.953 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004815/0.5545, allocations: 0.8458 MB / 387.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.5569, allocations: 449.9 kB / 388.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007938/0.5649, allocations: 2.42 MB / 390.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.5691, allocations: 1.734 MB / 392.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.5731, allocations: 1.104 MB / 393.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004605/0.5778, allocations: 1.385 MB / 394.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.5791, allocations: 278.6 kB / 395 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.5814, allocations: 409.8 kB / 395.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.583, allocations: 0.8049 MB / 396.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004259/0.5872, allocations: 1.279 MB / 397.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.5975, allocations: 3.727 MB / 401.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.5976, allocations: 0 / 401.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5976, allocations: 0 / 401.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.5978, allocations: 0 / 401.2 MB, free: 14.9 MB / 334.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.01468/0.6125, allocations: 2.672 MB / 403.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.919e-05/0.6126, allocations: 13.23 kB / 403.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.6143, allocations: 271.4 kB / 404.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/0.6185, allocations: 1.308 MB / 405.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.6187, allocations: 138.7 kB / 405.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/0.6193, allocations: 199.9 kB / 405.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008128/0.6274, allocations: 2.432 MB / 408.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.829e-05/0.6276, allocations: 6.25 kB / 408.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.6278, allocations: 80.91 kB / 408.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000212/0.628, allocations: 98.36 kB / 408.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004985/0.633, allocations: 1.987 MB / 410.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.6481, allocations: 7.314 MB / 417.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.6503, allocations: 1.349 MB / 419 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.6521, allocations: 0.8698 MB / 419.9 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.6524, allocations: 122 kB / 420 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.6536, allocations: 0.6837 MB / 420.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.737e-06/0.6537, allocations: 0 / 420.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01984/0.6735, allocations: 7.357 MB / 428.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.6737, allocations: 192.9 kB / 428.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.6775, allocations: 1.414 MB / 429.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.6778, allocations: 61.69 kB / 429.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.6793, allocations: 0.9249 MB / 430.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007128/0.68, allocations: 421.9 kB / 431.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007137/0.6807, allocations: 247.4 kB / 431.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002964/0.6811, allocations: 357.9 kB / 431.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.6824, allocations: 0.6325 MB / 432.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.6842, allocations: 1.007 MB / 433.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.6875, allocations: 1.708 MB / 435 MB, free: 0.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.003e-05/0.6875, allocations: 4 kB / 435 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006839/0.6944, allocations: 2.336 MB / 437.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.6945, allocations: 8 kB / 437.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/0.6945, allocations: 12.25 kB / 437.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.6963, allocations: 491.9 kB / 437.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.6977, allocations: 303.5 kB / 438.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009751/0.7075, allocations: 7.175 MB / 445.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.7097, allocations: 91.84 kB / 445.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/0.7101, allocations: 59.98 kB / 445.5 MB, free: 5.855 MB / 366.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.00209/0.7122, allocations: 0.6411 MB / 446.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007579/0.713, allocations: 154.1 kB / 446.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/0.7177, allocations: 2.139 MB / 448.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.7178, allocations: 12 kB / 448.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/0.7178, allocations: 4 kB / 448.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.7178, allocations: 3.984 kB / 448.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.7281, allocations: 4.544 MB / 453 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.7282, allocations: 8 kB / 453 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.729, allocations: 191.7 kB / 453.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.7306, allocations: 0.5431 MB / 453.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.7307, allocations: 31.98 kB / 453.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009584/0.7403, allocations: 8.726 MB / 462.5 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.7404, allocations: 4 kB / 462.5 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/0.7466, allocations: 3.083 MB / 465.5 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.7481, allocations: 371.1 kB / 465.9 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000669/0.7488, allocations: 35.94 kB / 465.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.7501, allocations: 71.92 kB / 466 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.7505, allocations: 100.7 kB / 466.1 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/0.7506, allocations: 39.98 kB / 466.2 MB, free: 296 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.753, allocations: 0.9753 MB / 467.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.753, allocations: 0 / 467.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002695/0.7557, allocations: 452 kB / 467.6 MB, free: 14.87 MB / 398.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.00149/0.7572, allocations: 0.4955 MB / 468.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00442/0.7616, allocations: 2.248 MB / 470.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.7617, allocations: 0 / 470.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.7645, allocations: 1.526 MB / 471.8 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/0.7678, allocations: 436.2 kB / 472.3 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.7792, allocations: 4.226 MB / 476.5 MB, free: 5.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.782, allocations: 1.705 MB / 478.2 MB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001878/0.7839, allocations: 325 kB / 478.5 MB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/0.7845, allocations: 111.4 kB / 478.6 MB, free: 3.543 MB / 398.1 MB Notification: Performance of SimCode: time 1.694e-06/0.7846, allocations: 4 kB / 478.6 MB, free: 3.539 MB / 398.1 MB Notification: Performance of Templates: time 0.05625/0.8408, allocations: 25.05 MB / 0.4919 GB, free: 10.44 MB / 430.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)