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.001304/0.001304, allocations: 106.2 kB / 17.06 MB, free: 6.145 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.001603/0.001603, allocations: 195 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.00182/0.00182, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1338, allocations: 46.61 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.3177/0.4516, allocations: 9.413 MB / 383.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008312/0.4599, allocations: 3.396 MB / 387.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.4624, allocations: 41.59 kB / 387.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.4651, allocations: 0.7315 MB / 388.1 MB, free: 5.984 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.004376/0.4695, allocations: 0.8045 MB / 388.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.4715, allocations: 452.4 kB / 389.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005506/0.477, allocations: 2.414 MB / 391.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.4803, allocations: 1.744 MB / 393.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.4835, allocations: 1.099 MB / 394.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.487, allocations: 1.38 MB / 396 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007823/0.4878, allocations: 279 kB / 396.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.4898, allocations: 414.1 kB / 396.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.491, allocations: 0.8002 MB / 397.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.4931, allocations: 1.284 MB / 398.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.5004, allocations: 3.733 MB / 402.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5004, allocations: 0 / 402.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5004, allocations: 3.938 kB / 402.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.5006, allocations: 0 / 402.5 MB, free: 14.95 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.009448/0.51, allocations: 2.664 MB / 405.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.5101, allocations: 14.14 kB / 405.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5111, allocations: 266.3 kB / 405.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.5143, allocations: 1.316 MB / 406.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.5145, allocations: 143.6 kB / 406.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.5148, allocations: 186.7 kB / 407 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/0.52, allocations: 2.432 MB / 409.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/0.52, allocations: 11.3 kB / 409.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.5203, allocations: 79.92 kB / 409.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.5204, allocations: 97.41 kB / 409.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/0.5244, allocations: 1.981 MB / 411.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.5385, allocations: 7.319 MB / 419 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.5405, allocations: 1.349 MB / 420.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.5421, allocations: 0.8698 MB / 421.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.5424, allocations: 122.1 kB / 421.3 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.5436, allocations: 0.6875 MB / 422 MB, free: 15.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.876e-06/0.5436, allocations: 0 / 422 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01974/0.5633, allocations: 7.353 MB / 429.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/0.5636, allocations: 200.9 kB / 429.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.5667, allocations: 1.414 MB / 430.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.5669, allocations: 49.7 kB / 431 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.5682, allocations: 0.9249 MB / 431.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.5687, allocations: 421.9 kB / 432.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/0.5692, allocations: 251.4 kB / 432.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.5694, allocations: 361.9 kB / 432.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.5705, allocations: 0.6325 MB / 433.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.5721, allocations: 0.999 MB / 434.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.5747, allocations: 1.712 MB / 436.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.5747, allocations: 0 / 436.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005313/0.5801, allocations: 2.344 MB / 438.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.5801, allocations: 8 kB / 438.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/0.5802, allocations: 12 kB / 438.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.5816, allocations: 488.2 kB / 439.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.5831, allocations: 299.5 kB / 439.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009143/0.5923, allocations: 7.179 MB / 446.6 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.5942, allocations: 107.8 kB / 446.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.5944, allocations: 52 kB / 446.7 MB, free: 5.906 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.001811/0.5962, allocations: 0.6372 MB / 447.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/0.5969, allocations: 154.1 kB / 447.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.6012, allocations: 2.131 MB / 449.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.6012, allocations: 23.88 kB / 449.7 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.6012, allocations: 4 kB / 449.7 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.6013, allocations: 7.969 kB / 449.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.6101, allocations: 4.54 MB / 454.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.6101, allocations: 8 kB / 454.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.6109, allocations: 191.7 kB / 454.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.6124, allocations: 0.5351 MB / 455 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6125, allocations: 31.98 kB / 455 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008905/0.6214, allocations: 8.722 MB / 463.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6215, allocations: 4 kB / 463.7 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00567/0.6271, allocations: 3.087 MB / 466.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6285, allocations: 363.1 kB / 467.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.6288, allocations: 39.98 kB / 467.2 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.6297, allocations: 71.92 kB / 467.3 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.63, allocations: 96.75 kB / 467.4 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/0.6301, allocations: 35.98 kB / 467.4 MB, free: 368 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.6319, allocations: 0.9831 MB / 468.4 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6319, allocations: 3.938 kB / 468.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002355/0.6343, allocations: 444 kB / 468.8 MB, free: 14.94 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.001417/0.6357, allocations: 0.5042 MB / 469.3 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004496/0.6402, allocations: 2.252 MB / 471.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.6402, allocations: 0.625 kB / 471.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003256/0.6435, allocations: 1.522 MB / 473.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.6464, allocations: 424.3 kB / 473.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/0.6555, allocations: 4.238 MB / 477.7 MB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/0.6572, allocations: 1.698 MB / 479.4 MB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.6585, allocations: 329 kB / 479.8 MB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.6589, allocations: 111.4 kB / 479.9 MB, free: 3.605 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6589, allocations: 0 / 479.9 MB, free: 3.605 MB / 398.1 MB Notification: Performance of Templates: time 0.05503/0.7139, allocations: 25.5 MB / 0.4935 GB, free: 10.06 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (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)