Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001165/0.001164, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01289/0.01289, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.152/2.152, allocations: 205.4 MB / 222.4 MB, free: 5.762 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.0005793/0.0005794, allocations: 15.98 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4165, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01728/0.4339, allocations: 12.09 MB / 339.1 MB, free: 7.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.4477, allocations: 4.165 MB / 343.3 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005664/0.4535, allocations: 59.69 kB / 343.4 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005044/0.4586, allocations: 0.8392 MB / 344.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009067/0.4677, allocations: 1.088 MB / 345.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.4708, allocations: 467.6 kB / 345.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.4816, allocations: 5.343 MB / 351.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00539/0.487, allocations: 2.957 MB / 354 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/0.4922, allocations: 1.588 MB / 355.6 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005584/0.4978, allocations: 2.182 MB / 357.8 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.4995, allocations: 248 kB / 358 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.5015, allocations: 347.8 kB / 358.4 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.503, allocations: 1.141 MB / 359.5 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005521/0.5086, allocations: 2.093 MB / 361.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.5193, allocations: 6.937 MB / 368.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.5194, allocations: 0 / 368.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.161e-06/0.5195, allocations: 4 kB / 368.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004461/0.5199, allocations: 0 / 368.6 MB, free: 9.668 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.01427/0.5342, allocations: 3.958 MB / 372.5 MB, free: 5.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.5343, allocations: 8.031 kB / 372.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.5375, allocations: 499.5 kB / 373 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/0.5446, allocations: 2.392 MB / 375.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004073/0.5451, allocations: 267 kB / 375.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.5472, allocations: 351.9 kB / 376 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.5637, allocations: 5.032 MB / 381 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.5639, allocations: 4 kB / 381 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005741/0.5645, allocations: 152 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/0.5648, allocations: 179 kB / 381.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.576, allocations: 4.314 MB / 385.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03761/0.6136, allocations: 15 MB / 400.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/0.62, allocations: 4.204 MB / 404.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/0.6239, allocations: 2.006 MB / 406.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003993/0.6244, allocations: 131.1 kB / 407 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.232e-05/0.6244, allocations: 56.56 kB / 407.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 5.581e-06/0.6245, allocations: 0 / 407.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02745/0.6519, allocations: 10.13 MB / 417.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.6521, allocations: 73.41 kB / 417.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/0.6576, allocations: 2.51 MB / 419.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007225/0.6584, allocations: 61.7 kB / 419.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.6601, allocations: 1.619 MB / 421.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.6616, allocations: 0.7355 MB / 422.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/0.6621, allocations: 198.2 kB / 422.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.6624, allocations: 301.1 kB / 422.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.6652, allocations: 1.316 MB / 424 MB, free: 1.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/0.6687, allocations: 1.798 MB / 425.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006219/0.6749, allocations: 3.243 MB / 429.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/0.675, allocations: 7.938 kB / 429.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01122/0.6862, allocations: 4.098 MB / 433.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.6864, allocations: 12 kB / 433.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-05/0.6865, allocations: 12.47 kB / 433.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.6899, allocations: 0.871 MB / 434.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/0.6929, allocations: 0.5343 MB / 434.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.7074, allocations: 8.764 MB / 443.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/0.711, allocations: 115.9 kB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/0.7114, allocations: 95.97 kB / 443.6 MB, free: 12.8 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.003261/0.7147, allocations: 1.208 MB / 444.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/0.7158, allocations: 276.7 kB / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007709/0.7235, allocations: 3.738 MB / 448.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.7236, allocations: 20.09 kB / 448.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.7236, allocations: 15.92 kB / 448.8 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.7236, allocations: 11.95 kB / 448.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2974/1.021, allocations: 8.111 MB / 456.9 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/1.021, allocations: 3.094 kB / 456.9 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/1.024, allocations: 395.3 kB / 457.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004107/1.028, allocations: 0.9233 MB / 458.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004904/1.029, allocations: 58.33 kB / 458.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.042, allocations: 10.2 MB / 468.5 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.042, allocations: 3.188 kB / 468.5 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009084/1.051, allocations: 5.552 MB / 474.1 MB, free: 99.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.053, allocations: 0.6401 MB / 474.7 MB, free: 99.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/1.053, allocations: 46.39 kB / 474.7 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.055, allocations: 125.6 kB / 474.9 MB, free: 99.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/1.055, allocations: 185.5 kB / 475 MB, free: 99.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.055, allocations: 64.19 kB / 475.1 MB, free: 99.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002697/1.058, allocations: 1.726 MB / 476.8 MB, free: 98.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 476.8 MB, free: 98.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00262/1.061, allocations: 0.7961 MB / 477.6 MB, free: 98.46 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.0006294/1.061, allocations: 238.7 kB / 477.9 MB, free: 98.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005322/1.067, allocations: 3.909 MB / 481.8 MB, free: 94.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.067, allocations: 0 / 481.8 MB, free: 94.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003255/1.07, allocations: 2.499 MB / 484.3 MB, free: 92.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/1.075, allocations: 0.7455 MB / 485 MB, free: 91.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/1.088, allocations: 9.511 MB / 494.5 MB, free: 81.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/1.09, allocations: 2.777 MB / 497.3 MB, free: 79.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002289/1.092, allocations: 0.6827 MB / 498 MB, free: 78.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/1.092, allocations: 175.4 kB / 498.2 MB, free: 78.17 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/1.092, allocations: 0 / 498.2 MB, free: 78.17 MB / 382.1 MB Notification: Performance of Templates: time 0.06762/1.16, allocations: 43.86 MB / 0.5293 GB, free: 34.25 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)