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.001678/0.001679, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001579/0.00158, allocations: 193.7 kB / 16.14 MB, free: 6.715 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.047/2.047, allocations: 205.1 MB / 222 MB, free: 4.754 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.001697/0.001697, allocations: 51.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4214, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.02205/0.4435, allocations: 12.7 MB / 337.4 MB, free: 7.414 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.4594, allocations: 4.207 MB / 341.6 MB, free: 3.195 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006003/0.4655, allocations: 63.69 kB / 341.6 MB, free: 3.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006018/0.4717, allocations: 0.847 MB / 342.5 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.4805, allocations: 1.076 MB / 343.6 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4835, allocations: 471.5 kB / 344 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01223/0.4958, allocations: 5.363 MB / 349.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007857/0.5037, allocations: 2.961 MB / 352.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008143/0.5119, allocations: 1.811 MB / 354.2 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008456/0.5204, allocations: 2.444 MB / 356.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003028/0.5235, allocations: 344 kB / 356.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005689/0.5293, allocations: 451.8 kB / 357.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004516/0.5339, allocations: 1.285 MB / 358.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008478/0.5424, allocations: 2.235 MB / 360.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.5577, allocations: 7.15 MB / 368.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.5578, allocations: 0 / 368.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5578, allocations: 7.938 kB / 368.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003075/0.5581, allocations: 0 / 368.1 MB, free: 8.566 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.02577/0.5839, allocations: 4.691 MB / 372.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.518e-05/0.584, allocations: 12.03 kB / 372.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.5879, allocations: 0.4956 MB / 373.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.598, allocations: 2.38 MB / 375.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006193/0.5987, allocations: 267 kB / 375.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/0.6017, allocations: 359.9 kB / 376.3 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.6262, allocations: 5.017 MB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/0.6265, allocations: 7.906 kB / 381.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.628, allocations: 148 kB / 381.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000389/0.6284, allocations: 187 kB / 381.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.6449, allocations: 4.287 MB / 385.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05543/0.7004, allocations: 14.91 MB / 400.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/0.7091, allocations: 4.188 MB / 405 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006223/0.7154, allocations: 1.999 MB / 407 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.716, allocations: 135 kB / 407.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.734e-05/0.7161, allocations: 60.56 kB / 407.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 1.121e-05/0.7161, allocations: 0 / 407.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.043/0.7592, allocations: 10.02 MB / 417.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.7594, allocations: 73.41 kB / 417.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009938/0.7693, allocations: 2.51 MB / 419.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000717/0.7701, allocations: 61.7 kB / 419.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/0.7724, allocations: 1.619 MB / 421.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.774, allocations: 0.7355 MB / 422.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.7758, allocations: 416.2 kB / 422.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.776, allocations: 305.1 kB / 422.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.7788, allocations: 1.301 MB / 424.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.7818, allocations: 1.778 MB / 426 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005434/0.7873, allocations: 3.215 MB / 429.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/0.7873, allocations: 7.938 kB / 429.2 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008361/0.7957, allocations: 4.075 MB / 433.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.7958, allocations: 12 kB / 433.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.7958, allocations: 12 kB / 433.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/0.799, allocations: 0.8789 MB / 434.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.8015, allocations: 0.5305 MB / 434.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.8129, allocations: 8.729 MB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.816, allocations: 127.9 kB / 443.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006371/0.8167, allocations: 80 kB / 443.6 MB, free: 11.12 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.003682/0.8204, allocations: 1.212 MB / 444.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/0.8217, allocations: 284.6 kB / 445.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009097/0.8308, allocations: 3.715 MB / 448.9 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.8309, allocations: 20 kB / 448.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/0.8309, allocations: 11.94 kB / 448.9 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/0.831, allocations: 7.969 kB / 448.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2858/1.117, allocations: 8.086 MB / 457 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.117, allocations: 3.125 kB / 457 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.119, allocations: 386.5 kB / 457.4 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/1.122, allocations: 0.9289 MB / 458.3 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000328/1.122, allocations: 58.27 kB / 458.3 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/1.133, allocations: 10.18 MB / 468.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.133, allocations: 3.844 kB / 468.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009468/1.142, allocations: 5.517 MB / 474 MB, free: 99.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/1.144, allocations: 0.6271 MB / 474.7 MB, free: 99.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/1.145, allocations: 50.2 kB / 474.7 MB, free: 99.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.146, allocations: 118.5 kB / 474.8 MB, free: 99.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/1.147, allocations: 177.6 kB / 475 MB, free: 99.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.147, allocations: 61.73 kB / 475.1 MB, free: 99.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00278/1.15, allocations: 1.729 MB / 476.8 MB, free: 98.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.15, allocations: 0 / 476.8 MB, free: 98.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003722/1.154, allocations: 0.803 MB / 477.6 MB, free: 97.67 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.0008848/1.154, allocations: 239.7 kB / 477.8 MB, free: 97.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/1.16, allocations: 3.874 MB / 481.7 MB, free: 93.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.16, allocations: 4.125 kB / 481.7 MB, free: 93.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00428/1.165, allocations: 2.479 MB / 484.2 MB, free: 90.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.17, allocations: 0.731 MB / 484.9 MB, free: 90.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.186, allocations: 9.367 MB / 494.3 MB, free: 80.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/1.188, allocations: 2.777 MB / 497.1 MB, free: 78.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002666/1.191, allocations: 0.6749 MB / 497.7 MB, free: 77.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/1.192, allocations: 175.4 kB / 497.9 MB, free: 77.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/1.192, allocations: 0 / 497.9 MB, free: 77.25 MB / 382.1 MB Notification: Performance of Templates: time 0.0805/1.272, allocations: 44.56 MB / 0.5298 GB, free: 32.64 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)