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.01051/0.01051, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.002157/0.002157, allocations: 206.1 kB / 16.68 MB, free: 5.973 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.919/1.919, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001339/0.001339, allocations: 61.72 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01468/0.1791, allocations: 9.42 MB / 382.6 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.1892, allocations: 3.397 MB / 386 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.1927, allocations: 39.81 kB / 386 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.1965, allocations: 0.7691 MB / 386.8 MB, free: 3.621 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.005408/0.202, allocations: 0.839 MB / 387.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.2044, allocations: 443.2 kB / 388.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.2098, allocations: 2.416 MB / 390.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.2123, allocations: 1.735 MB / 392.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.215, allocations: 1.094 MB / 393.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.2184, allocations: 1.39 MB / 394.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006518/0.2191, allocations: 280 kB / 395 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.2204, allocations: 407.8 kB / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009244/0.2213, allocations: 0.8025 MB / 396.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.2234, allocations: 1.279 MB / 397.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.2289, allocations: 3.744 MB / 401.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2289, allocations: 3.938 kB / 401.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2289, allocations: 0 / 401.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.633e-05/0.229, allocations: 3.938 kB / 401.2 MB, free: 5.113 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.007028/0.2361, allocations: 2.719 MB / 403.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.2361, allocations: 15.89 kB / 404 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.237, allocations: 287.2 kB / 404.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.2398, allocations: 1.319 MB / 405.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.24, allocations: 143.7 kB / 405.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.2403, allocations: 188 kB / 405.9 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.2457, allocations: 2.436 MB / 408.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/0.2458, allocations: 7.953 kB / 408.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.246, allocations: 76 kB / 408.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.2461, allocations: 99.61 kB / 408.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004399/0.2505, allocations: 1.982 MB / 410.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.2683, allocations: 7.345 MB / 417.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.271, allocations: 1.339 MB / 419.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.273, allocations: 0.8775 MB / 420 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.2734, allocations: 122.1 kB / 420.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.2751, allocations: 0.6836 MB / 420.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 1.981e-05/0.2751, allocations: 0 / 420.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.02319/0.2983, allocations: 7.404 MB / 428.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/0.2987, allocations: 192.9 kB / 428.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/0.3032, allocations: 1.418 MB / 429.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.3034, allocations: 53.7 kB / 429.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.3052, allocations: 0.9545 MB / 430.9 MB, free: 6.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/0.306, allocations: 444.3 kB / 431.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007057/0.3067, allocations: 243.5 kB / 431.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003874/0.3071, allocations: 361.9 kB / 431.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.3087, allocations: 0.6324 MB / 432.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.3105, allocations: 1.011 MB / 433.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.3136, allocations: 1.7 MB / 435.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.3137, allocations: 4 kB / 435.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00534/0.319, allocations: 2.348 MB / 437.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.3191, allocations: 8.25 kB / 437.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/0.3191, allocations: 16 kB / 437.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.3207, allocations: 499.9 kB / 438.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.322, allocations: 295.5 kB / 438.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/0.3318, allocations: 7.187 MB / 445.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.3338, allocations: 87.86 kB / 445.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.334, allocations: 59.98 kB / 445.7 MB, free: 7.16 MB / 382.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.001734/0.3358, allocations: 0.6378 MB / 446.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/0.3364, allocations: 167 kB / 446.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.3408, allocations: 2.135 MB / 448.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.3409, allocations: 12 kB / 448.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.3409, allocations: 7.938 kB / 448.7 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.3409, allocations: 7.969 kB / 448.7 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3476/0.6886, allocations: 4.536 MB / 453.2 MB, free: 68.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/0.6886, allocations: 3.312 kB / 453.2 MB, free: 68.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.6904, allocations: 193.1 kB / 453.4 MB, free: 68.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.6932, allocations: 0.532 MB / 453.9 MB, free: 68.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/0.6935, allocations: 35.92 kB / 454 MB, free: 68.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.7046, allocations: 8.724 MB / 462.7 MB, free: 62.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.7046, allocations: 11.62 kB / 462.7 MB, free: 62.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.7111, allocations: 3.099 MB / 465.8 MB, free: 61.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.7125, allocations: 377.5 kB / 466.2 MB, free: 61.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.7128, allocations: 35.45 kB / 466.2 MB, free: 61.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7139, allocations: 69.45 kB / 466.3 MB, free: 61.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/0.7142, allocations: 100.3 kB / 466.4 MB, free: 61.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/0.7143, allocations: 39.41 kB / 466.4 MB, free: 61.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001912/0.7163, allocations: 0.9813 MB / 467.4 MB, free: 60.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7163, allocations: 0 / 467.4 MB, free: 60.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002425/0.7187, allocations: 452 kB / 467.8 MB, free: 60.91 MB / 382.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.001394/0.7201, allocations: 0.4931 MB / 468.3 MB, free: 60.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003798/0.7239, allocations: 2.253 MB / 470.6 MB, free: 59.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7239, allocations: 1.312 kB / 470.6 MB, free: 59.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.7264, allocations: 1.521 MB / 472.1 MB, free: 58.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.7289, allocations: 428.1 kB / 472.5 MB, free: 58.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.7355, allocations: 4.3 MB / 476.8 MB, free: 56.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.7368, allocations: 1.701 MB / 478.5 MB, free: 55.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009914/0.7378, allocations: 324.9 kB / 478.8 MB, free: 55.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.7381, allocations: 108.3 kB / 478.9 MB, free: 55.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.7381, allocations: 4 kB / 478.9 MB, free: 55.29 MB / 382.1 MB Notification: Performance of Templates: time 0.04011/0.7782, allocations: 25.05 MB / 0.4922 GB, free: 32.46 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)