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.001411/0.001411, allocations: 98.27 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.01116/0.01116, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.269/2.269, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0005535/0.0005536, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3466, allocations: 47.6 MB / 327 MB, free: 1.496 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.0145/0.3611, allocations: 12.09 MB / 339.1 MB, free: 7.375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3717, allocations: 4.157 MB / 343.3 MB, free: 3.207 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/0.3764, allocations: 63.69 kB / 343.4 MB, free: 3.145 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004015/0.3804, allocations: 0.847 MB / 344.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007227/0.3877, allocations: 1.076 MB / 345.3 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.3907, allocations: 475.5 kB / 345.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009124/0.3998, allocations: 5.347 MB / 351.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005592/0.4054, allocations: 2.942 MB / 354 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004697/0.4102, allocations: 1.592 MB / 355.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005136/0.4153, allocations: 2.182 MB / 357.8 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.4166, allocations: 244 kB / 358 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.4185, allocations: 347.8 kB / 358.4 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001733/0.4203, allocations: 1.137 MB / 359.5 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004896/0.4252, allocations: 2.096 MB / 361.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009854/0.4351, allocations: 6.937 MB / 368.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.4352, allocations: 0 / 368.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.32e-06/0.4352, allocations: 0 / 368.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000312/0.4355, allocations: 0 / 368.6 MB, free: 9.789 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.01181/0.4473, allocations: 3.958 MB / 372.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.4474, allocations: 8.031 kB / 372.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/0.4508, allocations: 0.4995 MB / 373 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/0.4568, allocations: 2.376 MB / 375.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.4571, allocations: 271 kB / 375.7 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.4583, allocations: 355.9 kB / 376 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.4711, allocations: 5.036 MB / 381 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.4713, allocations: 4 kB / 381.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005027/0.4718, allocations: 148 kB / 381.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.472, allocations: 183 kB / 381.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.4833, allocations: 4.314 MB / 385.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.521, allocations: 15 MB / 400.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006204/0.5273, allocations: 4.212 MB / 404.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/0.5313, allocations: 2.006 MB / 406.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.5317, allocations: 131.1 kB / 407 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/0.5318, allocations: 56.56 kB / 407.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.608e-06/0.5318, allocations: 0 / 407.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02427/0.5561, allocations: 10.13 MB / 417.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.5562, allocations: 77.39 kB / 417.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/0.5612, allocations: 2.506 MB / 419.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006292/0.5619, allocations: 61.7 kB / 419.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.5636, allocations: 1.626 MB / 421.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.5649, allocations: 0.7316 MB / 422.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.5652, allocations: 194.3 kB / 422.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5654, allocations: 305.1 kB / 422.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/0.568, allocations: 1.316 MB / 424 MB, free: 1.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.5711, allocations: 1.794 MB / 425.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/0.5773, allocations: 3.239 MB / 429.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-05/0.5774, allocations: 11.88 kB / 429.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009576/0.587, allocations: 4.095 MB / 433.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.5871, allocations: 12 kB / 433.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/0.5871, allocations: 12 kB / 433.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.5902, allocations: 0.879 MB / 434.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.5927, allocations: 0.5305 MB / 434.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.6037, allocations: 8.76 MB / 443.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.6066, allocations: 119.9 kB / 443.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.6069, allocations: 91.98 kB / 443.6 MB, free: 12.92 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.002997/0.6099, allocations: 1.208 MB / 444.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/0.6108, allocations: 276.7 kB / 445 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006936/0.6178, allocations: 3.738 MB / 448.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.6179, allocations: 28 kB / 448.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.6179, allocations: 7.938 kB / 448.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.6179, allocations: 15.89 kB / 448.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3325/0.9504, allocations: 8.115 MB / 456.9 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/0.9505, allocations: 2.531 kB / 456.9 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.9528, allocations: 388.1 kB / 457.3 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/0.9569, allocations: 0.9313 MB / 458.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007929/0.9577, allocations: 53.55 kB / 458.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.971, allocations: 10.21 MB / 468.5 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.9711, allocations: 3.938 kB / 468.5 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.9817, allocations: 5.547 MB / 474.1 MB, free: 99.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002741/0.9845, allocations: 0.6355 MB / 474.7 MB, free: 99.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008806/0.9854, allocations: 51.98 kB / 474.7 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.9872, allocations: 127.5 kB / 474.9 MB, free: 99.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/0.9878, allocations: 184.6 kB / 475.1 MB, free: 99.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.9879, allocations: 58.61 kB / 475.1 MB, free: 99.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003301/0.9912, allocations: 1.733 MB / 476.8 MB, free: 98.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9913, allocations: 0 / 476.8 MB, free: 98.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004248/0.9955, allocations: 0.795 MB / 477.6 MB, free: 98.47 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.0009174/0.9965, allocations: 244 kB / 477.9 MB, free: 98.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006191/1.003, allocations: 3.899 MB / 481.8 MB, free: 94.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.003, allocations: 4 kB / 481.8 MB, free: 94.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.006, allocations: 2.5 MB / 484.3 MB, free: 92.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/1.012, allocations: 0.7449 MB / 485 MB, free: 91.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.026, allocations: 9.521 MB / 494.5 MB, free: 81.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/1.028, allocations: 2.777 MB / 497.3 MB, free: 79.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002526/1.031, allocations: 0.6749 MB / 498 MB, free: 78.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/1.031, allocations: 179.4 kB / 498.2 MB, free: 78.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.966e-06/1.031, allocations: 0 / 498.2 MB, free: 78.23 MB / 382.1 MB Notification: Performance of Templates: time 0.07596/1.107, allocations: 43.85 MB / 0.5293 GB, free: 34.34 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)