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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001518/0.001518, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.256/1.256, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00172/0.00172, allocations: 116.1 kB / 248.1 MB, free: 6.312 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.429e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.07632, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/0.353, allocations: 101.4 MB / 444 MB, free: 10.79 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3532, allocations: 81.39 kB / 444.1 MB, free: 10.75 MB / 331.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1197/0.473, allocations: 43.4 MB / 487.5 MB, free: 6.504 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.473, allocations: 0 / 487.5 MB, free: 6.504 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001975/0.4732, allocations: 55.94 kB / 487.5 MB, free: 6.449 MB / 363.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.00529/0.4785, allocations: 2.127 MB / 489.6 MB, free: 4.258 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4786, allocations: 12.03 kB / 489.6 MB, free: 4.246 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.4797, allocations: 269.1 kB / 489.9 MB, free: 3.98 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.4826, allocations: 1.408 MB / 491.3 MB, free: 2.516 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.4827, allocations: 71.95 kB / 491.4 MB, free: 2.445 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/0.4831, allocations: 115.9 kB / 491.5 MB, free: 2.332 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003266/0.4864, allocations: 1.737 MB / 493.2 MB, free: 0.5938 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.4903, allocations: 2.094 MB / 495.3 MB, free: 14.43 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/0.4903, allocations: 3.906 kB / 495.3 MB, free: 14.42 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.4905, allocations: 11.98 kB / 495.3 MB, free: 14.41 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.4908, allocations: 87.62 kB / 495.4 MB, free: 14.32 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.5037, allocations: 7.089 MB / 0.4907 GB, free: 7.047 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.5058, allocations: 1.302 MB / 0.492 GB, free: 5.68 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.5069, allocations: 0.6919 MB / 0.4927 GB, free: 4.992 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.5073, allocations: 142.3 kB / 0.4928 GB, free: 4.836 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009483/0.5082, allocations: 0.6509 MB / 0.4935 GB, free: 4.152 MB / 379.1 MB Notification: Performance of pre-optimization done (n=102): time 3.436e-06/0.5083, allocations: 0 / 0.4935 GB, free: 4.152 MB / 379.1 MB Notification: Performance of matching and sorting (n=130): time 0.01148/0.5197, allocations: 6.077 MB / 0.4994 GB, free: 13.98 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.5199, allocations: 197.2 kB / 0.4996 GB, free: 13.75 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.5215, allocations: 1.005 MB / 0.5006 GB, free: 12.73 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.5216, allocations: 29.7 kB / 0.5006 GB, free: 12.7 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/0.5225, allocations: 0.9237 MB / 0.5015 GB, free: 11.76 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.5229, allocations: 437.5 kB / 0.5019 GB, free: 11.32 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.5229, allocations: 0 / 0.5019 GB, free: 11.32 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5231, allocations: 365.9 kB / 0.5023 GB, free: 10.96 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009297/0.524, allocations: 0.6482 MB / 0.5029 GB, free: 10.31 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5253, allocations: 1.009 MB / 0.5039 GB, free: 9.16 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.5265, allocations: 0.8146 MB / 0.5047 GB, free: 8.348 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.5265, allocations: 4 kB / 0.5047 GB, free: 8.344 MB / 395.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004066/0.5306, allocations: 2.354 MB / 0.507 GB, free: 5.969 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/0.5307, allocations: 37.7 kB / 0.507 GB, free: 5.926 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.5307, allocations: 8 kB / 0.507 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.5323, allocations: 0.6529 MB / 0.5077 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.5334, allocations: 303.5 kB / 0.508 GB, free: 4.957 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1822/0.7156, allocations: 6.169 MB / 0.514 GB, free: 88.6 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.7171, allocations: 75.64 kB / 0.514 GB, free: 88.6 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.7172, allocations: 63.88 kB / 0.5141 GB, free: 88.6 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.7175, allocations: 143.7 kB / 0.5142 GB, free: 88.5 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.7178, allocations: 142.8 kB / 0.5144 GB, free: 88.5 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.7215, allocations: 2.208 MB / 0.5165 GB, free: 88.41 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.7215, allocations: 19.28 kB / 0.5166 GB, free: 88.41 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7215, allocations: 7.578 kB / 0.5166 GB, free: 88.41 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.7215, allocations: 7.734 kB / 0.5166 GB, free: 88.41 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006536/0.7281, allocations: 4.462 MB / 0.5209 GB, free: 87.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7281, allocations: 6.281 kB / 0.5209 GB, free: 87.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.7288, allocations: 182.7 kB / 0.5211 GB, free: 87.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.7305, allocations: 0.7291 MB / 0.5218 GB, free: 87.79 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.7306, allocations: 28.64 kB / 0.5218 GB, free: 87.79 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006881/0.7375, allocations: 7.815 MB / 0.5295 GB, free: 84.21 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7375, allocations: 3.188 kB / 0.5295 GB, free: 84.21 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.7415, allocations: 3.286 MB / 0.5327 GB, free: 83.77 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/0.7422, allocations: 374.4 kB / 0.533 GB, free: 83.6 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.7425, allocations: 12.41 kB / 0.5331 GB, free: 83.6 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/0.7433, allocations: 59.91 kB / 0.5331 GB, free: 83.59 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.7435, allocations: 109.1 kB / 0.5332 GB, free: 83.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.813e-05/0.7436, allocations: 39.38 kB / 0.5333 GB, free: 83.59 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00091/0.7445, allocations: 0.7463 MB / 0.534 GB, free: 83.48 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7445, allocations: 0 / 0.534 GB, free: 83.48 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001451/0.7459, allocations: 466.2 kB / 0.5344 GB, free: 83.48 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 3 * 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: 3 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.7471, allocations: 0.4985 MB / 0.5349 GB, free: 83.35 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.75, allocations: 2.326 MB / 0.5372 GB, free: 82.84 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7501, allocations: 2.344 kB / 0.5372 GB, free: 82.84 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.7521, allocations: 1.537 MB / 0.5387 GB, free: 82.37 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7535, allocations: 287.5 kB / 0.539 GB, free: 82.36 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.759, allocations: 3.409 MB / 0.5423 GB, free: 81.48 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.7605, allocations: 1.749 MB / 0.544 GB, free: 80.73 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0009398/0.7615, allocations: 306 kB / 0.5443 GB, free: 80.7 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.7618, allocations: 105.2 kB / 0.5444 GB, free: 80.69 MB / 395.1 MB Notification: Performance of SimCode: time 3.61e-07/0.7618, allocations: 0 / 0.5444 GB, free: 80.69 MB / 395.1 MB Notification: Performance of Templates: time 0.03674/0.7985, allocations: 22.35 MB / 0.5662 GB, free: 79.25 MB / 395.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)