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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001272/0.001272, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.38/1.38, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001789/0.001789, allocations: 128.6 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.452e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09775, allocations: 44.5 MB / 349.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.56, allocations: 107.3 MB / 456.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5603, allocations: 86.45 kB / 456.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4408/1.001, allocations: 93.97 MB / 0.5379 GB, free: 67.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.001, allocations: 2.062 kB / 0.5379 GB, free: 67.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003264/1.002, allocations: 100.2 kB / 0.538 GB, free: 67.09 MB / 394.7 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.01091/1.012, allocations: 3.539 MB / 0.5414 GB, free: 65.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.013, allocations: 9.625 kB / 0.5415 GB, free: 65.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/1.015, allocations: 0.5071 MB / 0.542 GB, free: 65.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00557/1.02, allocations: 2.545 MB / 0.5444 GB, free: 65.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.021, allocations: 268.8 kB / 0.5447 GB, free: 65.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008007/1.021, allocations: 354 kB / 0.545 GB, free: 65.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009126/1.031, allocations: 4.836 MB / 0.5498 GB, free: 64.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.782e-05/1.031, allocations: 11.33 kB / 0.5498 GB, free: 64.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/1.031, allocations: 157.4 kB / 0.5499 GB, free: 64.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/1.031, allocations: 174.8 kB / 0.5501 GB, free: 64.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006216/1.038, allocations: 3.912 MB / 0.5539 GB, free: 64.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/1.059, allocations: 14.96 MB / 0.5685 GB, free: 61.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.063, allocations: 4.152 MB / 0.5726 GB, free: 59.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/1.065, allocations: 1.828 MB / 0.5744 GB, free: 59.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/1.065, allocations: 145.2 kB / 0.5745 GB, free: 59.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.065, allocations: 54.91 kB / 0.5745 GB, free: 59.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 5.721e-06/1.065, allocations: 0 / 0.5745 GB, free: 59.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.0163/1.082, allocations: 8.344 MB / 0.5827 GB, free: 57.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/1.082, allocations: 76.06 kB / 0.5828 GB, free: 57.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/1.085, allocations: 2.178 MB / 0.5849 GB, free: 56.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/1.085, allocations: 64.83 kB / 0.585 GB, free: 56.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000936/1.086, allocations: 1.608 MB / 0.5865 GB, free: 55.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000509/1.087, allocations: 0.7308 MB / 0.5872 GB, free: 54.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.087, allocations: 46.47 kB / 0.5873 GB, free: 54.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/1.087, allocations: 405.7 kB / 0.5877 GB, free: 54.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/1.089, allocations: 1.236 MB / 0.5889 GB, free: 54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.09, allocations: 1.669 MB / 0.5905 GB, free: 53.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/1.092, allocations: 1.487 MB / 0.592 GB, free: 52.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.092, allocations: 7.25 kB / 0.592 GB, free: 52.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005547/1.098, allocations: 3.913 MB / 0.5958 GB, free: 51.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.098, allocations: 7.188 kB / 0.5958 GB, free: 51.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.098, allocations: 14.62 kB / 0.5958 GB, free: 51.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/1.099, allocations: 0.7528 MB / 0.5965 GB, free: 50.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.101, allocations: 0.53 MB / 0.5971 GB, free: 50.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/1.109, allocations: 8.708 MB / 0.6056 GB, free: 44.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.112, allocations: 114.2 kB / 0.6057 GB, free: 44.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/1.112, allocations: 90.53 kB / 0.6058 GB, free: 44.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005024/1.112, allocations: 236.8 kB / 0.606 GB, free: 44.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/1.113, allocations: 277.1 kB / 0.6063 GB, free: 44.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/1.119, allocations: 3.637 MB / 0.6098 GB, free: 43.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/1.119, allocations: 25.31 kB / 0.6098 GB, free: 43.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.119, allocations: 7.562 kB / 0.6098 GB, free: 43.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.119, allocations: 10.45 kB / 0.6098 GB, free: 43.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.132, allocations: 7.952 MB / 0.6176 GB, free: 39.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.132, allocations: 0 / 0.6176 GB, free: 39.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.134, allocations: 398.1 kB / 0.618 GB, free: 39.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.136, allocations: 0.8109 MB / 0.6188 GB, free: 39.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.136, allocations: 57.59 kB / 0.6188 GB, free: 39.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009306/1.145, allocations: 10.2 MB / 0.6288 GB, free: 32.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.145, allocations: 9.594 kB / 0.6288 GB, free: 32.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008211/1.154, allocations: 5.619 MB / 0.6343 GB, free: 27.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.156, allocations: 0.6413 MB / 0.6349 GB, free: 26.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009334/1.157, allocations: 51.09 kB / 0.635 GB, free: 26.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.159, allocations: 126.6 kB / 0.6351 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/1.159, allocations: 182 kB / 0.6353 GB, free: 26.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.159, allocations: 69.98 kB / 0.6353 GB, free: 26.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003103/1.162, allocations: 1.677 MB / 0.637 GB, free: 24.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.162, allocations: 0 / 0.637 GB, free: 24.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003378/1.166, allocations: 0.8357 MB / 0.6378 GB, free: 24.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007006/1.166, allocations: 378.3 kB / 0.6381 GB, free: 23.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005391/1.172, allocations: 3.77 MB / 0.6418 GB, free: 20.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.172, allocations: 0 / 0.6418 GB, free: 20.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003282/1.175, allocations: 2.443 MB / 0.6442 GB, free: 18.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/1.179, allocations: 0.7373 MB / 0.6449 GB, free: 17.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.192, allocations: 6.445 MB / 0.6512 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/1.195, allocations: 2.842 MB / 0.654 GB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002911/1.198, allocations: 0.68 MB / 0.6547 GB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000917/1.199, allocations: 171 kB / 0.6548 GB, free: 8.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/1.199, allocations: 0 / 0.6548 GB, free: 8.984 MB / 394.7 MB Notification: Performance of Templates: time 0.2979/1.497, allocations: 46.62 MB / 0.7004 GB, free: 59.96 MB / 410.7 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)