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.001513/0.001513, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002126/0.002127, allocations: 177.3 kB / 15.95 MB, free: 216 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.935/1.935, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005548/0.0005548, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3211, allocations: 47.59 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01064/0.3318, allocations: 7.645 MB / 334.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.3403, allocations: 3.259 MB / 337.4 MB, free: 8.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.3435, allocations: 39.81 kB / 337.4 MB, free: 8.551 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.3466, allocations: 0.6144 MB / 338 MB, free: 7.934 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.3514, allocations: 0.6893 MB / 338.7 MB, free: 7.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.3539, allocations: 319.4 kB / 339 MB, free: 6.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.359, allocations: 1.579 MB / 340.6 MB, free: 5.344 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.3615, allocations: 1.22 MB / 341.8 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.3636, allocations: 0.7707 MB / 342.6 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.3657, allocations: 0.9962 MB / 343.6 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005216/0.3662, allocations: 120 kB / 343.7 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009535/0.3672, allocations: 219.8 kB / 343.9 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007315/0.3679, allocations: 0.592 MB / 344.5 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.3687, allocations: 456.6 kB / 344.9 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.3724, allocations: 2.949 MB / 347.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3724, allocations: 0 / 347.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3724, allocations: 3.938 kB / 347.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.3726, allocations: 4 kB / 347.9 MB, free: 13.97 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.005883/0.3785, allocations: 2.27 MB / 350.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3785, allocations: 12.03 kB / 350.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.3797, allocations: 265.1 kB / 350.4 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.3839, allocations: 1.264 MB / 351.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.3842, allocations: 139.7 kB / 351.8 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007561/0.385, allocations: 195.9 kB / 352 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005351/0.3903, allocations: 2.405 MB / 354.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.077e-05/0.3905, allocations: 11.94 kB / 354.4 MB, free: 7.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.3907, allocations: 72 kB / 354.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/0.3908, allocations: 91.69 kB / 354.6 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.3948, allocations: 1.978 MB / 356.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.4105, allocations: 7.386 MB / 364 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.4128, allocations: 1.355 MB / 365.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.4131, allocations: 122.1 kB / 365.4 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/0.4143, allocations: 0.6905 MB / 366.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.236e-06/0.4144, allocations: 0 / 366.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01888/0.4332, allocations: 7.39 MB / 373.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.4334, allocations: 167.2 kB / 373.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.436, allocations: 1.368 MB / 375.1 MB, free: 2.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.4363, allocations: 49.7 kB / 375.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.4376, allocations: 0.9249 MB / 376 MB, free: 1.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.4381, allocations: 422 kB / 376.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.4382, allocations: 28 kB / 376.5 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.4385, allocations: 365.9 kB / 376.8 MB, free: 324 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.4397, allocations: 0.6325 MB / 377.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4412, allocations: 0.9936 MB / 378.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.4426, allocations: 0.7988 MB / 379.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4426, allocations: 4 kB / 379.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004549/0.4471, allocations: 2.316 MB / 381.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.4472, allocations: 8 kB / 381.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.4473, allocations: 12 kB / 381.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.4485, allocations: 472.1 kB / 382.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4499, allocations: 307.5 kB / 382.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/0.4577, allocations: 6.53 MB / 388.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.4598, allocations: 95.97 kB / 389 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/0.4603, allocations: 56.31 kB / 389 MB, free: 3.508 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (151): * Single equations (assignments): 146 * 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%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00211/0.4624, allocations: 0.6378 MB / 389.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/0.4632, allocations: 162 kB / 389.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/0.4676, allocations: 2.127 MB / 392 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.4677, allocations: 16 kB / 392 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.4677, allocations: 7.938 kB / 392 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.4677, allocations: 11.97 kB / 392 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.4782, allocations: 4.41 MB / 396.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.4783, allocations: 4 kB / 396.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/0.4792, allocations: 199.7 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.4807, allocations: 0.5156 MB / 397.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.4809, allocations: 35.98 kB / 397.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009694/0.4906, allocations: 7.984 MB / 405.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.4907, allocations: 7.953 kB / 405.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.497, allocations: 3.238 MB / 408.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.4985, allocations: 367 kB / 408.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/0.499, allocations: 35.98 kB / 408.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.5, allocations: 75.92 kB / 408.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.5004, allocations: 96.77 kB / 408.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-05/0.5004, allocations: 35.98 kB / 409 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001615/0.5021, allocations: 0.9362 MB / 409.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5021, allocations: 4 kB / 409.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002513/0.5046, allocations: 452 kB / 410.4 MB, free: 13.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 100 * 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%) 3,(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.001433/0.5061, allocations: 473.7 kB / 410.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.5109, allocations: 2.232 MB / 413.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.5109, allocations: 192 / 413.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002952/0.5139, allocations: 1.514 MB / 414.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.5167, allocations: 380.6 kB / 414.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.5289, allocations: 5.043 MB / 420 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.5316, allocations: 1.744 MB / 421.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001583/0.5332, allocations: 328.9 kB / 422 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.5338, allocations: 115.4 kB / 422.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of SimCode: time 2.324e-06/0.5338, allocations: 0 / 422.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Templates: time 0.05455/0.5883, allocations: 22.35 MB / 444.5 MB, free: 10.77 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: