Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001315/0.001315, allocations: 92.02 kB / 16.3 MB, free: 5.996 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.001555/0.001556, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.97/1.97, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.0004948/0.0004949, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3601, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0112/0.3714, allocations: 7.65 MB / 335.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009206/0.3807, allocations: 3.248 MB / 338.6 MB, free: 8.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.383, allocations: 39.81 kB / 338.6 MB, free: 8.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.3853, allocations: 0.6066 MB / 339.3 MB, free: 7.961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.3891, allocations: 0.701 MB / 340 MB, free: 7.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3907, allocations: 319.4 kB / 340.3 MB, free: 6.945 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003961/0.3946, allocations: 1.579 MB / 341.8 MB, free: 5.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.3965, allocations: 1.22 MB / 343.1 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.398, allocations: 0.7629 MB / 343.8 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3993, allocations: 1.004 MB / 344.8 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3996, allocations: 120 kB / 344.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/0.4002, allocations: 215.8 kB / 345.2 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.4009, allocations: 0.5881 MB / 345.7 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.4014, allocations: 456.6 kB / 346.2 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002906/0.4043, allocations: 2.949 MB / 349.1 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4043, allocations: 0 / 349.1 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.347e-05/0.4043, allocations: 7.938 kB / 349.1 MB, free: 14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.056e-05/0.4044, allocations: 3.938 kB / 349.2 MB, free: 13.99 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.005357/0.4098, allocations: 2.262 MB / 351.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4099, allocations: 8.031 kB / 351.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.4107, allocations: 265.1 kB / 351.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.4133, allocations: 1.272 MB / 353 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.4134, allocations: 143.7 kB / 353.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.4137, allocations: 183.9 kB / 353.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.4183, allocations: 2.409 MB / 355.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.4183, allocations: 11.94 kB / 355.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.4185, allocations: 80 kB / 355.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.4186, allocations: 91.69 kB / 355.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.4222, allocations: 1.974 MB / 357.8 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.4358, allocations: 7.39 MB / 365.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.438, allocations: 1.351 MB / 366.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.4383, allocations: 126.1 kB / 366.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.4394, allocations: 0.6944 MB / 367.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 4.168e-06/0.4394, allocations: 3.984 kB / 367.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01597/0.4554, allocations: 7.382 MB / 374.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4555, allocations: 175.2 kB / 375 MB, free: 3.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.4577, allocations: 1.368 MB / 376.3 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.4579, allocations: 45.7 kB / 376.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008683/0.4587, allocations: 0.9288 MB / 377.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.4591, allocations: 421.9 kB / 377.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.4592, allocations: 28 kB / 377.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4594, allocations: 357.9 kB / 378.1 MB, free: 348 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.4605, allocations: 0.6442 MB / 378.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.462, allocations: 0.9936 MB / 379.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.4634, allocations: 0.7949 MB / 380.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4634, allocations: 0 / 380.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004819/0.4682, allocations: 2.316 MB / 382.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.4683, allocations: 8 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.4683, allocations: 8 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.4695, allocations: 476.2 kB / 383.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4707, allocations: 311.5 kB / 383.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.4777, allocations: 6.527 MB / 390.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.4794, allocations: 103.9 kB / 390.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.4795, allocations: 52 kB / 390.3 MB, free: 3.523 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.00145/0.481, allocations: 0.6339 MB / 390.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.4813, allocations: 158.1 kB / 391.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.485, allocations: 2.131 MB / 393.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4851, allocations: 12 kB / 393.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.4851, allocations: 7.938 kB / 393.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.4851, allocations: 7.969 kB / 393.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00807/0.4932, allocations: 4.41 MB / 397.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.4932, allocations: 8.375 kB / 397.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/0.4941, allocations: 199.7 kB / 397.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.4954, allocations: 0.5153 MB / 398.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.4955, allocations: 31.98 kB / 398.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007736/0.5032, allocations: 7.988 MB / 406.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5033, allocations: 8.062 kB / 406.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.5086, allocations: 3.234 MB / 409.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5097, allocations: 371 kB / 410 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.5099, allocations: 31.98 kB / 410 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.5107, allocations: 71.92 kB / 410.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.511, allocations: 104.8 kB / 410.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.5111, allocations: 35.98 kB / 410.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001679/0.5128, allocations: 0.9323 MB / 411.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5128, allocations: 0 / 411.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001941/0.5148, allocations: 456 kB / 411.6 MB, free: 13.27 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.001288/0.5161, allocations: 465.3 kB / 412.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003912/0.52, allocations: 2.238 MB / 414.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.52, allocations: 1.875 kB / 414.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.5223, allocations: 1.506 MB / 415.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.5243, allocations: 388.6 kB / 416.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/0.5328, allocations: 5.047 MB / 421.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.5344, allocations: 1.744 MB / 423 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001351/0.5358, allocations: 328.9 kB / 423.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.5361, allocations: 111.4 kB / 423.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5361, allocations: 0 / 423.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Templates: time 0.04721/0.5833, allocations: 22.35 MB / 445.8 MB, free: 10.79 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: