Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008965/0.008965, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001383/0.001383, allocations: 193 kB / 16.67 MB, free: 5.969 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.935/1.935, allocations: 205.1 MB / 222.6 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.002564/0.002564, allocations: 54.42 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1516, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0141/0.1657, allocations: 9.424 MB / 382.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008304/0.1741, allocations: 3.39 MB / 386 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.1764, allocations: 43.81 kB / 386 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.1797, allocations: 0.734 MB / 386.8 MB, free: 3.648 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.004532/0.1842, allocations: 0.796 MB / 387.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.1862, allocations: 451.2 kB / 388 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004897/0.1911, allocations: 2.416 MB / 390.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003548/0.1946, allocations: 1.731 MB / 392.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.1973, allocations: 1.086 MB / 393.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.2003, allocations: 1.39 MB / 394.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009975/0.2014, allocations: 280 kB / 394.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.2032, allocations: 403.8 kB / 395.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.2046, allocations: 0.8103 MB / 396.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.2067, allocations: 1.279 MB / 397.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.2113, allocations: 3.744 MB / 401.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2113, allocations: 0 / 401.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2113, allocations: 0 / 401.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.537e-05/0.2114, allocations: 0 / 401.1 MB, free: 5.191 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.005684/0.2171, allocations: 2.719 MB / 403.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.2171, allocations: 15.89 kB / 403.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007551/0.2179, allocations: 283.3 kB / 404.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.2201, allocations: 1.323 MB / 405.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2202, allocations: 139.7 kB / 405.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/0.2205, allocations: 195.9 kB / 405.8 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.2246, allocations: 2.432 MB / 408.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.612e-05/0.2246, allocations: 7.953 kB / 408.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.2248, allocations: 87.95 kB / 408.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.2249, allocations: 95.62 kB / 408.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/0.2284, allocations: 1.982 MB / 410.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.2403, allocations: 7.337 MB / 417.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.2422, allocations: 1.351 MB / 419.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.2437, allocations: 0.8697 MB / 420 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.244, allocations: 118.1 kB / 420.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.2451, allocations: 0.6914 MB / 420.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.585e-06/0.2451, allocations: 0 / 420.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01637/0.2615, allocations: 7.396 MB / 428.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.2617, allocations: 196.9 kB / 428.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.2638, allocations: 1.418 MB / 429.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2639, allocations: 53.7 kB / 429.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/0.2648, allocations: 0.9545 MB / 430.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.2652, allocations: 440.3 kB / 431.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.2656, allocations: 243.5 kB / 431.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2658, allocations: 365.9 kB / 431.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009612/0.2667, allocations: 0.6286 MB / 432.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.268, allocations: 1.007 MB / 433.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.2703, allocations: 1.704 MB / 435.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2703, allocations: 4 kB / 435.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00396/0.2743, allocations: 2.348 MB / 437.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.2743, allocations: 8 kB / 437.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.2744, allocations: 16.25 kB / 437.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.2756, allocations: 499.8 kB / 438 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.2766, allocations: 291.6 kB / 438.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006856/0.2835, allocations: 7.183 MB / 445.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.285, allocations: 91.84 kB / 445.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2851, allocations: 56.12 kB / 445.6 MB, free: 7.246 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.001351/0.2865, allocations: 0.6417 MB / 446.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.2868, allocations: 167 kB / 446.4 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.2905, allocations: 2.139 MB / 448.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2906, allocations: 12 kB / 448.6 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/0.2906, allocations: 4 kB / 448.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.2906, allocations: 11.95 kB / 448.6 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.325/0.6156, allocations: 4.539 MB / 453.1 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/0.6157, allocations: 3.531 kB / 453.1 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6169, allocations: 191.3 kB / 453.3 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.6188, allocations: 0.5312 MB / 453.9 MB, free: 69.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/0.6191, allocations: 39.52 kB / 453.9 MB, free: 69.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00972/0.6288, allocations: 8.724 MB / 462.6 MB, free: 63.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.6289, allocations: 6.969 kB / 462.6 MB, free: 63.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006775/0.6356, allocations: 3.096 MB / 465.7 MB, free: 61.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.6373, allocations: 375.3 kB / 466.1 MB, free: 61.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/0.6377, allocations: 39.77 kB / 466.1 MB, free: 61.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/0.6386, allocations: 71.61 kB / 466.2 MB, free: 61.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.6391, allocations: 97.81 kB / 466.3 MB, free: 61.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.6392, allocations: 38.64 kB / 466.3 MB, free: 61.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002354/0.6415, allocations: 0.9844 MB / 467.3 MB, free: 61.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6415, allocations: 1.031 kB / 467.3 MB, free: 61.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002766/0.6443, allocations: 451.8 kB / 467.8 MB, free: 61.05 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.00151/0.6458, allocations: 496.6 kB / 468.2 MB, free: 60.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00462/0.6505, allocations: 2.262 MB / 470.5 MB, free: 59.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.6505, allocations: 1.469 kB / 470.5 MB, free: 59.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002706/0.6532, allocations: 1.522 MB / 472 MB, free: 58.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.6558, allocations: 431 kB / 472.4 MB, free: 58.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.6648, allocations: 4.303 MB / 476.7 MB, free: 56.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.6669, allocations: 1.701 MB / 478.4 MB, free: 55.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00164/0.6686, allocations: 329.5 kB / 478.8 MB, free: 55.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.669, allocations: 108.4 kB / 478.9 MB, free: 55.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.669, allocations: 3.781 kB / 478.9 MB, free: 55.42 MB / 382.1 MB Notification: Performance of Templates: time 0.04519/0.7142, allocations: 25.04 MB / 0.4921 GB, free: 32.67 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)