Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001796/0.001796, allocations: 106.6 kB / 17.06 MB, free: 6.031 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.002472/0.002473, allocations: 195.1 kB / 17.99 MB, free: 5.109 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.941/1.941, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001458/0.001458, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.3341/0.4877, allocations: 12.8 MB / 387.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.5034, allocations: 4.25 MB / 391.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005293/0.5088, allocations: 67.47 kB / 391.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.5138, allocations: 0.9719 MB / 392.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008773/0.5227, allocations: 1.179 MB / 393.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.5258, allocations: 0.5291 MB / 394.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009612/0.5354, allocations: 4.676 MB / 399 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007149/0.5426, allocations: 3.602 MB / 402.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/0.5482, allocations: 2.127 MB / 404.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.5544, allocations: 2.554 MB / 407.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.556, allocations: 0.552 MB / 407.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.5586, allocations: 0.6502 MB / 408.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.5603, allocations: 1.519 MB / 410 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004703/0.5651, allocations: 2.488 MB / 412.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009735/0.5748, allocations: 7.419 MB / 419.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5749, allocations: 3.938 kB / 419.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5749, allocations: 4 kB / 419.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003687/0.5752, allocations: 0 / 419.9 MB, free: 2.18 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01484/0.5901, allocations: 4.68 MB / 424.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5902, allocations: 15.89 kB / 424.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.5916, allocations: 0.4956 MB / 425.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005081/0.5967, allocations: 2.412 MB / 427.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.597, allocations: 271 kB / 427.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/0.5976, allocations: 347.9 kB / 428.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.6081, allocations: 5.029 MB / 433.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.776e-05/0.6082, allocations: 7.938 kB / 433.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003821/0.6086, allocations: 144 kB / 433.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.6088, allocations: 187 kB / 433.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008119/0.617, allocations: 4.287 MB / 437.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02681/0.6438, allocations: 14.73 MB / 452.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.6488, allocations: 4.196 MB / 456.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003292/0.6521, allocations: 1.987 MB / 458.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/0.6525, allocations: 135 kB / 458.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.458e-05/0.6525, allocations: 68.53 kB / 458.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 5.13e-06/0.6526, allocations: 0 / 458.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02231/0.6749, allocations: 10.01 MB / 468.9 MB, free: 252 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.675, allocations: 73.41 kB / 468.9 MB, free: 164 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/0.6797, allocations: 2.506 MB / 471.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.6799, allocations: 61.7 kB / 471.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.6813, allocations: 1.619 MB / 473.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007253/0.6821, allocations: 0.7316 MB / 473.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007332/0.6828, allocations: 416.3 kB / 474.3 MB, free: 10.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.683, allocations: 301.1 kB / 474.6 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.685, allocations: 1.305 MB / 475.9 MB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.6874, allocations: 1.775 MB / 477.6 MB, free: 7.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.6919, allocations: 3.219 MB / 480.8 MB, free: 3.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.6919, allocations: 4 kB / 480.9 MB, free: 3.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007676/0.6996, allocations: 4.075 MB / 484.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.6997, allocations: 8 kB / 484.9 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.6997, allocations: 16 kB / 485 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/0.7022, allocations: 0.8246 MB / 485.8 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.7045, allocations: 0.5227 MB / 486.3 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.7149, allocations: 9.487 MB / 495.8 MB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.7176, allocations: 115.9 kB / 495.9 MB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.7179, allocations: 83.98 kB / 496 MB, free: 4.203 MB / 414.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.002675/0.7206, allocations: 1.215 MB / 497.2 MB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/0.7216, allocations: 280.6 kB / 497.5 MB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009796/0.7314, allocations: 3.722 MB / 0.4894 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.7315, allocations: 20 kB / 0.4895 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/0.7315, allocations: 8 kB / 0.4895 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/0.7316, allocations: 7.969 kB / 0.4895 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/0.7573, allocations: 8.021 MB / 0.4973 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.7574, allocations: 4 kB / 0.4973 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/0.7598, allocations: 387.8 kB / 0.4977 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/0.7635, allocations: 0.8746 MB / 0.4985 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/0.7639, allocations: 51.97 kB / 0.4986 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/0.7827, allocations: 11.07 MB / 0.5094 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.7828, allocations: 4.031 kB / 0.5094 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.7951, allocations: 5.504 MB / 0.5148 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/0.7986, allocations: 0.6304 MB / 0.5154 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/0.8001, allocations: 51.98 kB / 0.5154 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/0.8024, allocations: 115.8 kB / 0.5156 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/0.803, allocations: 185.8 kB / 0.5157 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/0.8033, allocations: 59.98 kB / 0.5158 GB, free: 3.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004373/0.8076, allocations: 1.727 MB / 0.5175 GB, free: 1.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8077, allocations: 0 / 0.5175 GB, free: 1.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006035/0.8137, allocations: 0.8085 MB / 0.5183 GB, free: 0.6289 MB / 446.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.001002/0.8147, allocations: 224.8 kB / 0.5185 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008894/0.8237, allocations: 3.904 MB / 0.5223 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.8237, allocations: 4 kB / 0.5223 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005183/0.8289, allocations: 2.476 MB / 0.5247 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005949/0.8349, allocations: 0.7911 MB / 0.5255 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.8515, allocations: 7.702 MB / 0.533 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003729/0.8553, allocations: 2.777 MB / 0.5357 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002656/0.858, allocations: 0.6749 MB / 0.5364 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006711/0.8586, allocations: 175.4 kB / 0.5365 GB, free: 13.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.432e-06/0.8587, allocations: 4 kB / 0.5365 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Templates: time 0.3927/1.251, allocations: 45.31 MB / 0.5808 GB, free: 136.5 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)