Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01158/0.01158, allocations: 104.5 kB / 15.74 MB, free: 5.984 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.001809/0.001809, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.001343/0.001343, allocations: 53.7 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01385/0.1553, allocations: 9.634 MB / 382.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.1634, allocations: 3.074 MB / 385.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.1658, allocations: 39.81 kB / 385.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.1686, allocations: 0.6638 MB / 386.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.1728, allocations: 0.7765 MB / 387.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.174, allocations: 375.5 kB / 387.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.1779, allocations: 2.467 MB / 390.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.1806, allocations: 1.715 MB / 391.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.183, allocations: 1.075 MB / 393 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.1852, allocations: 1.312 MB / 394.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.1856, allocations: 280 kB / 394.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/0.1864, allocations: 371.8 kB / 395 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008083/0.1872, allocations: 0.7752 MB / 395.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.1889, allocations: 1.268 MB / 397 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.1935, allocations: 3.649 MB / 400.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1936, allocations: 0 / 400.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1936, allocations: 7.875 kB / 400.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.473e-05/0.1937, allocations: 0 / 400.7 MB, free: 5.691 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005972/0.1996, allocations: 2.575 MB / 403.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.1997, allocations: 15.89 kB / 403.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.2006, allocations: 266 kB / 403.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.203, allocations: 1.264 MB / 404.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.2031, allocations: 144.1 kB / 404.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.2035, allocations: 196 kB / 405.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004129/0.2076, allocations: 2.419 MB / 407.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.112e-05/0.2077, allocations: 4 kB / 407.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.2078, allocations: 72 kB / 407.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.2079, allocations: 95.67 kB / 407.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.2114, allocations: 1.959 MB / 409.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.2245, allocations: 7.769 MB / 417.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.2263, allocations: 1.23 MB / 418.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.2283, allocations: 0.9683 MB / 419.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.2286, allocations: 122 kB / 419.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2287, allocations: 43.56 kB / 419.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.587e-06/0.2287, allocations: 0 / 419.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01507/0.2438, allocations: 5.862 MB / 425.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.2439, allocations: 68.39 kB / 425.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.2468, allocations: 1.306 MB / 427 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.2469, allocations: 41.7 kB / 427.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.2481, allocations: 0.916 MB / 428 MB, free: 9.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/0.2487, allocations: 394.4 kB / 428.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005775/0.2493, allocations: 243.5 kB / 428.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003214/0.2496, allocations: 365.9 kB / 428.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.2508, allocations: 0.6364 MB / 429.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.2523, allocations: 1 MB / 430.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.2549, allocations: 1.735 MB / 432.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.2549, allocations: 4 kB / 432.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004423/0.2594, allocations: 2.245 MB / 434.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.2594, allocations: 12 kB / 434.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.2594, allocations: 8 kB / 434.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.2608, allocations: 492.2 kB / 435.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.262, allocations: 307.5 kB / 435.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/0.2704, allocations: 7.132 MB / 442.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.272, allocations: 83.91 kB / 442.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.2723, allocations: 56 kB / 442.6 MB, free: 10.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0015/0.2738, allocations: 0.6105 MB / 443.2 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/0.2744, allocations: 146.2 kB / 443.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.279, allocations: 1.968 MB / 445.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.2791, allocations: 12 kB / 445.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-05/0.2791, allocations: 8.062 kB / 445.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.2791, allocations: 7.984 kB / 445.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/0.2885, allocations: 4.121 MB / 449.5 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.2885, allocations: 4 kB / 449.5 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/0.2894, allocations: 183.8 kB / 449.7 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.291, allocations: 0.5429 MB / 450.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.2911, allocations: 31.91 kB / 450.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.328/0.6192, allocations: 8.73 MB / 459 MB, free: 65.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.6192, allocations: 7.375 kB / 459 MB, free: 65.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00691/0.6262, allocations: 2.847 MB / 461.8 MB, free: 64.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.6276, allocations: 357 kB / 462.2 MB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.6279, allocations: 28.86 kB / 462.2 MB, free: 64.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/0.6288, allocations: 74.19 kB / 462.3 MB, free: 64.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/0.6293, allocations: 84.69 kB / 462.4 MB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.6294, allocations: 31.94 kB / 462.4 MB, free: 64.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002225/0.6317, allocations: 0.8858 MB / 463.3 MB, free: 63.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6317, allocations: 1.75 kB / 463.3 MB, free: 63.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002508/0.6342, allocations: 448.4 kB / 463.7 MB, free: 63.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%), (2,8,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.0005506/0.6348, allocations: 189.1 kB / 463.9 MB, free: 63.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004989/0.6398, allocations: 2.224 MB / 466.1 MB, free: 62.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.6398, allocations: 1.062 kB / 466.1 MB, free: 62.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.6428, allocations: 1.503 MB / 467.6 MB, free: 61.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.6457, allocations: 411 kB / 468.1 MB, free: 61.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/0.6555, allocations: 4.124 MB / 472.2 MB, free: 59.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.657, allocations: 1.65 MB / 473.8 MB, free: 58.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001435/0.6585, allocations: 318 kB / 474.1 MB, free: 58.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.6588, allocations: 97.59 kB / 474.2 MB, free: 58.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6588, allocations: 0 / 474.2 MB, free: 58.61 MB / 382.1 MB Notification: Performance of Templates: time 0.04327/0.7021, allocations: 24.09 MB / 498.3 MB, free: 38 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)