Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.0109/0.0109, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.00243/0.00243, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.911/1.911, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001478/0.001478, allocations: 58.44 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1408, allocations: 46.61 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.01414/0.155, allocations: 9.646 MB / 382.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008354/0.1634, allocations: 3.07 MB / 385.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.1661, allocations: 39.81 kB / 385.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.1692, allocations: 0.6677 MB / 386.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.1742, allocations: 0.7766 MB / 387.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.1762, allocations: 375.4 kB / 387.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005204/0.1814, allocations: 2.464 MB / 390.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.1845, allocations: 1.719 MB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.1868, allocations: 1.078 MB / 393 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.1893, allocations: 1.315 MB / 394.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005185/0.1899, allocations: 280 kB / 394.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009874/0.1909, allocations: 371.8 kB / 395 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000966/0.1918, allocations: 0.7752 MB / 395.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.1934, allocations: 1.272 MB / 397 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004805/0.1983, allocations: 3.655 MB / 400.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.1983, allocations: 3.938 kB / 400.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1983, allocations: 0 / 400.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.1984, allocations: 0 / 400.7 MB, free: 5.664 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.006999/0.2055, allocations: 2.639 MB / 403.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.2055, allocations: 15.89 kB / 403.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.2064, allocations: 275.3 kB / 403.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.2088, allocations: 1.272 MB / 404.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.2089, allocations: 144.1 kB / 405 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.2092, allocations: 200.1 kB / 405.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.2138, allocations: 2.419 MB / 407.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.878e-05/0.2139, allocations: 7.938 kB / 407.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.2141, allocations: 80 kB / 407.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.2142, allocations: 83.69 kB / 407.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.2183, allocations: 1.962 MB / 409.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.2325, allocations: 7.791 MB / 417.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.2347, allocations: 1.223 MB / 418.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.2368, allocations: 0.9644 MB / 419.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.2371, allocations: 118.1 kB / 419.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.2372, allocations: 43.56 kB / 419.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 4.939e-06/0.2372, allocations: 0 / 419.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01503/0.2522, allocations: 5.901 MB / 425.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.2523, allocations: 64.41 kB / 425.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.2548, allocations: 1.31 MB / 427.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.2549, allocations: 41.7 kB / 427.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009488/0.2559, allocations: 0.938 MB / 428.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.2563, allocations: 416.5 kB / 428.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/0.2568, allocations: 247.5 kB / 428.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.257, allocations: 361.9 kB / 429.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.2581, allocations: 0.6402 MB / 429.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.2597, allocations: 1 MB / 430.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.263, allocations: 1.727 MB / 432.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.263, allocations: 4 kB / 432.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004738/0.2678, allocations: 2.257 MB / 434.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.2678, allocations: 12 kB / 434.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.2678, allocations: 8 kB / 434.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.2692, allocations: 496.2 kB / 435.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2703, allocations: 303.5 kB / 435.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008249/0.2786, allocations: 7.14 MB / 442.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.2803, allocations: 79.88 kB / 442.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.2804, allocations: 59.98 kB / 442.9 MB, free: 10.06 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.001592/0.282, allocations: 0.6144 MB / 443.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004927/0.2825, allocations: 151.1 kB / 443.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.2863, allocations: 1.972 MB / 445.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.2864, allocations: 16 kB / 445.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.2864, allocations: 4 kB / 445.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.2864, allocations: 3.984 kB / 445.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008145/0.2946, allocations: 4.117 MB / 449.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2946, allocations: 0 / 449.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.2954, allocations: 183.8 kB / 449.9 MB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.297, allocations: 0.5507 MB / 450.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.171e-05/0.2971, allocations: 31.92 kB / 450.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3906/0.6877, allocations: 8.735 MB / 459.2 MB, free: 65.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6878, allocations: 3 kB / 459.2 MB, free: 65.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/0.6936, allocations: 2.859 MB / 462.1 MB, free: 64.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.6947, allocations: 360.1 kB / 462.4 MB, free: 64.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.695, allocations: 29.67 kB / 462.5 MB, free: 64.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.6959, allocations: 68.89 kB / 462.5 MB, free: 64.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.6962, allocations: 91.39 kB / 462.6 MB, free: 64.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/0.6963, allocations: 33.94 kB / 462.7 MB, free: 64.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001757/0.6981, allocations: 0.8889 MB / 463.5 MB, free: 63.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6981, allocations: 3.375 kB / 463.5 MB, free: 63.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002369/0.7005, allocations: 444 kB / 464 MB, free: 63.65 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.0004213/0.7009, allocations: 186 kB / 464.2 MB, free: 63.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00438/0.7053, allocations: 2.239 MB / 466.4 MB, free: 62.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7053, allocations: 1.469 kB / 466.4 MB, free: 62.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.7081, allocations: 1.5 MB / 467.9 MB, free: 61.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.7104, allocations: 421.6 kB / 468.3 MB, free: 61.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008889/0.7193, allocations: 4.161 MB / 472.5 MB, free: 59.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.7207, allocations: 1.65 MB / 474.1 MB, free: 58.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001199/0.7219, allocations: 320.9 kB / 474.4 MB, free: 58.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.7221, allocations: 97.89 kB / 474.5 MB, free: 58.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.886e-06/0.7222, allocations: 0 / 474.5 MB, free: 58.36 MB / 382.1 MB Notification: Performance of Templates: time 0.04782/0.77, allocations: 24.09 MB / 498.6 MB, free: 37.64 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)