Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001526/0.001526, allocations: 197.7 kB / 16.25 MB, free: 6.621 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.076/2.076, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001736/0.001737, allocations: 51.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4135, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.02069/0.4342, allocations: 12.69 MB / 337.5 MB, free: 7.359 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.4496, allocations: 4.192 MB / 341.7 MB, free: 3.156 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006511/0.4561, allocations: 63.69 kB / 341.8 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005954/0.4622, allocations: 0.8586 MB / 342.7 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009027/0.4713, allocations: 1.072 MB / 343.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.4747, allocations: 471.6 kB / 344.2 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.4857, allocations: 4.661 MB / 348.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008696/0.4945, allocations: 3.606 MB / 352.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008341/0.5029, allocations: 2.123 MB / 354.6 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007604/0.5105, allocations: 2.623 MB / 357.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003764/0.5144, allocations: 0.5508 MB / 357.8 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.5195, allocations: 0.6405 MB / 358.4 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004567/0.5241, allocations: 1.523 MB / 359.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008809/0.5329, allocations: 2.485 MB / 362.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.5477, allocations: 7.349 MB / 369.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.5478, allocations: 0 / 369.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.937e-06/0.5479, allocations: 4 kB / 369.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000425/0.5483, allocations: 7.922 kB / 369.8 MB, free: 6.98 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.02219/0.5705, allocations: 4.683 MB / 374.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.835e-05/0.5706, allocations: 15.89 kB / 374.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.575, allocations: 0.4917 MB / 375 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.5852, allocations: 2.376 MB / 377.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005484/0.5858, allocations: 270.9 kB / 377.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002415/0.5883, allocations: 359.9 kB / 378 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.6103, allocations: 5.021 MB / 383 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/0.6107, allocations: 7.906 kB / 383 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002147/0.6128, allocations: 144 kB / 383.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003631/0.6132, allocations: 179.1 kB / 383.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.6285, allocations: 4.294 MB / 387.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05042/0.679, allocations: 14.91 MB / 402.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/0.6872, allocations: 4.188 MB / 406.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004564/0.6918, allocations: 1.999 MB / 408.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.6924, allocations: 131.1 kB / 408.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/0.6925, allocations: 57.03 kB / 408.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 7.894e-06/0.6925, allocations: 3.938 kB / 408.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.0294/0.7219, allocations: 10.03 MB / 418.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.7221, allocations: 77.34 kB / 419 MB, free: 4.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007175/0.7292, allocations: 2.513 MB / 421.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007456/0.73, allocations: 61.7 kB / 421.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002043/0.7321, allocations: 1.623 MB / 423.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/0.7339, allocations: 0.7279 MB / 423.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00198/0.7359, allocations: 420.2 kB / 424.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7361, allocations: 301.1 kB / 424.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.739, allocations: 1.305 MB / 425.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/0.7423, allocations: 1.779 MB / 427.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005906/0.7482, allocations: 3.215 MB / 430.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.209e-05/0.7483, allocations: 7.938 kB / 430.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00946/0.7578, allocations: 4.068 MB / 435 MB, free: 4.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.7578, allocations: 16.09 kB / 435 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/0.7579, allocations: 15.98 kB / 435 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.761, allocations: 0.8826 MB / 435.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.7636, allocations: 0.5266 MB / 436.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.7768, allocations: 9.475 MB / 445.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/0.7803, allocations: 127.8 kB / 446 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/0.7808, allocations: 83.98 kB / 446.1 MB, free: 8.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003557/0.7843, allocations: 1.215 MB / 447.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.7856, allocations: 276.7 kB / 447.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007702/0.7933, allocations: 3.715 MB / 451.3 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.7934, allocations: 20 kB / 451.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.7934, allocations: 8 kB / 451.3 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/0.7934, allocations: 15.89 kB / 451.3 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3797/1.173, allocations: 8.076 MB / 459.4 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.173, allocations: 4.469 kB / 459.4 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.175, allocations: 387.4 kB / 459.8 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/1.178, allocations: 0.9286 MB / 460.7 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/1.179, allocations: 57.41 kB / 460.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.19, allocations: 11.07 MB / 471.9 MB, free: 100.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.19, allocations: 3.656 kB / 471.9 MB, free: 100.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.2, allocations: 5.512 MB / 477.4 MB, free: 98.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.203, allocations: 0.6365 MB / 478 MB, free: 97.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.204, allocations: 54.11 kB / 478.1 MB, free: 97.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/1.206, allocations: 115 kB / 478.2 MB, free: 97.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/1.207, allocations: 180.5 kB / 478.3 MB, free: 97.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.207, allocations: 55.98 kB / 478.4 MB, free: 97.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004325/1.212, allocations: 1.734 MB / 480.1 MB, free: 95.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.212, allocations: 2.625 kB / 480.1 MB, free: 95.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00515/1.217, allocations: 0.7957 MB / 480.9 MB, free: 94.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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%), (3,25,88.9%), (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.001084/1.218, allocations: 233.6 kB / 481.2 MB, free: 94.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.229, allocations: 5.708 MB / 486.9 MB, free: 88.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.23, allocations: 0 / 486.9 MB, free: 88.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/1.234, allocations: 2.476 MB / 489.3 MB, free: 86.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006922/1.241, allocations: 0.7971 MB / 490.1 MB, free: 85.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/1.261, allocations: 9.356 MB / 499.5 MB, free: 75.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00469/1.266, allocations: 2.769 MB / 0.4905 GB, free: 73.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003342/1.269, allocations: 0.6788 MB / 0.4912 GB, free: 72.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.27, allocations: 187.4 kB / 0.4913 GB, free: 72.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/1.27, allocations: 0 / 0.4913 GB, free: 72.29 MB / 382.1 MB Notification: Performance of Templates: time 0.08692/1.357, allocations: 46.22 MB / 0.5365 GB, free: 26.03 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)