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.001698/0.001698, allocations: 110.2 kB / 16.92 MB, free: 6.184 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.001471/0.001471, allocations: 191.3 kB / 17.85 MB, free: 5.328 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.907/1.907, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001359/0.001359, allocations: 47.94 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1499, allocations: 46.62 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01392/0.1639, allocations: 9.416 MB / 336 MB, free: 11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1745, allocations: 3.394 MB / 339.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.1779, allocations: 43.81 kB / 339.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.1817, allocations: 0.7378 MB / 340.2 MB, free: 6.809 MB / 286.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.005623/0.1874, allocations: 0.7999 MB / 341 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.1898, allocations: 447.2 kB / 341.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00582/0.1956, allocations: 2.414 MB / 343.9 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.199, allocations: 1.739 MB / 345.6 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.2018, allocations: 1.086 MB / 346.7 MB, free: 276 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003694/0.2056, allocations: 1.382 MB / 348.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.2069, allocations: 280 kB / 348.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.2088, allocations: 407.8 kB / 348.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.2105, allocations: 0.8025 MB / 349.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.2144, allocations: 1.283 MB / 350.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005934/0.2204, allocations: 3.684 MB / 354.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.2204, allocations: 3.984 kB / 354.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2204, allocations: 3.938 kB / 354.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.201e-05/0.2205, allocations: 0 / 354.5 MB, free: 8.414 MB / 302.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.00684/0.2274, allocations: 2.671 MB / 357.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2274, allocations: 15.89 kB / 357.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.2282, allocations: 266 kB / 357.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.2304, allocations: 1.299 MB / 358.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.2306, allocations: 139.7 kB / 358.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.2309, allocations: 183.9 kB / 359.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.2353, allocations: 2.44 MB / 361.5 MB, free: 1.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/0.2354, allocations: 11.83 kB / 361.5 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.2355, allocations: 76 kB / 361.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.2357, allocations: 95.67 kB / 361.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.2392, allocations: 1.978 MB / 363.7 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.2544, allocations: 7.405 MB / 371.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.2566, allocations: 1.348 MB / 372.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.2582, allocations: 0.89 MB / 373.3 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.2585, allocations: 118.1 kB / 373.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.2597, allocations: 0.6875 MB / 374.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.655e-06/0.2597, allocations: 3.938 kB / 374.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.326/0.5857, allocations: 7.349 MB / 381.5 MB, free: 50.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.5859, allocations: 200.2 kB / 381.7 MB, free: 50.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.5891, allocations: 1.415 MB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.5893, allocations: 46.52 kB / 383.1 MB, free: 50.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.5906, allocations: 0.9335 MB / 384.1 MB, free: 49.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000524/0.5911, allocations: 421.9 kB / 384.5 MB, free: 49.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.5916, allocations: 248.9 kB / 384.7 MB, free: 48.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5918, allocations: 364.5 kB / 385.1 MB, free: 48.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.5931, allocations: 0.6317 MB / 385.7 MB, free: 48.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.5947, allocations: 1.002 MB / 386.7 MB, free: 47.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.5974, allocations: 1.707 MB / 388.4 MB, free: 46.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5974, allocations: 2.25 kB / 388.4 MB, free: 46.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00546/0.6028, allocations: 2.335 MB / 390.8 MB, free: 45.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.6029, allocations: 8.594 kB / 390.8 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/0.603, allocations: 10.88 kB / 390.8 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.6044, allocations: 497.6 kB / 391.3 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.6056, allocations: 301.8 kB / 391.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.6129, allocations: 7.178 MB / 398.7 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.6149, allocations: 95.64 kB / 398.8 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.615, allocations: 58.06 kB / 398.9 MB, free: 39.95 MB / 318.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.001775/0.6168, allocations: 0.6325 MB / 399.5 MB, free: 39.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/0.6174, allocations: 164.1 kB / 399.7 MB, free: 39.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.621, allocations: 2.136 MB / 401.8 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.621, allocations: 13.62 kB / 401.8 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.621, allocations: 3.906 kB / 401.8 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.6211, allocations: 11.2 kB / 401.8 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/0.6282, allocations: 4.558 MB / 406.4 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.6283, allocations: 4 kB / 406.4 MB, free: 35.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.629, allocations: 192.1 kB / 406.6 MB, free: 35.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.6302, allocations: 0.5399 MB / 407.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.6303, allocations: 39.84 kB / 407.2 MB, free: 34.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.6367, allocations: 8.721 MB / 415.9 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6368, allocations: 4 kB / 415.9 MB, free: 25.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.641, allocations: 3.091 MB / 419 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009289/0.642, allocations: 375 kB / 419.4 MB, free: 22.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.6422, allocations: 35.98 kB / 419.4 MB, free: 22.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.643, allocations: 75.75 kB / 419.5 MB, free: 22.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.6433, allocations: 96.75 kB / 419.6 MB, free: 21.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.6434, allocations: 39.98 kB / 419.6 MB, free: 21.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001244/0.6446, allocations: 0.987 MB / 420.6 MB, free: 20.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6446, allocations: 0 / 420.6 MB, free: 20.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001962/0.6466, allocations: 446.6 kB / 421 MB, free: 20.5 MB / 318.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.00132/0.6479, allocations: 0.4969 MB / 421.5 MB, free: 20.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004724/0.6527, allocations: 2.671 MB / 424.2 MB, free: 17.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.6527, allocations: 0 / 424.2 MB, free: 17.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.6549, allocations: 1.525 MB / 425.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.6574, allocations: 424.5 kB / 426.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.6647, allocations: 4.262 MB / 430.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.6662, allocations: 1.71 MB / 432.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001274/0.6675, allocations: 313 kB / 432.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.6678, allocations: 111.4 kB / 432.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6678, allocations: 0 / 432.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of Templates: time 0.04852/0.7163, allocations: 24.67 MB / 457.2 MB, free: 124 kB / 334.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)