Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001066/0.001066, allocations: 178.9 kB / 16.38 MB, free: 5.762 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.156/1.156, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001924/0.001923, allocations: 113.7 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002761, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07318/0.07347, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.311, allocations: 107.5 MB / 462.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3113, allocations: 89.52 kB / 462.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3705/0.6819, allocations: 93.84 MB / 0.5434 GB, free: 81.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6819, allocations: 0 / 0.5434 GB, free: 81.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.6822, allocations: 100 kB / 0.5435 GB, free: 81.84 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.007464/0.6896, allocations: 3.952 MB / 0.5474 GB, free: 80.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.6897, allocations: 7.75 kB / 0.5474 GB, free: 80.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.6912, allocations: 0.5108 MB / 0.5479 GB, free: 79.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.6963, allocations: 2.561 MB / 0.5504 GB, free: 79.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.6964, allocations: 263.5 kB / 0.5506 GB, free: 79.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/0.697, allocations: 357.2 kB / 0.551 GB, free: 79.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006725/0.7037, allocations: 4.934 MB / 0.5558 GB, free: 78.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-05/0.7038, allocations: 13.28 kB / 0.5558 GB, free: 78.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.7041, allocations: 152.7 kB / 0.556 GB, free: 78.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.7042, allocations: 175.7 kB / 0.5561 GB, free: 78.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005541/0.7098, allocations: 4.063 MB / 0.5601 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/0.7285, allocations: 14.96 MB / 0.5747 GB, free: 70.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.732, allocations: 4.227 MB / 0.5788 GB, free: 67.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.7322, allocations: 141.5 kB / 0.579 GB, free: 67.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.7323, allocations: 74.41 kB / 0.579 GB, free: 67.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 3.607e-06/0.7323, allocations: 0 / 0.579 GB, free: 67.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.01697/0.7493, allocations: 10.17 MB / 0.589 GB, free: 63.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.7493, allocations: 75.62 kB / 0.589 GB, free: 63.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.7523, allocations: 2.21 MB / 0.5912 GB, free: 62.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002632/0.7526, allocations: 61.05 kB / 0.5913 GB, free: 62.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/0.7533, allocations: 1.6 MB / 0.5928 GB, free: 61.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.7538, allocations: 0.7412 MB / 0.5935 GB, free: 60.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.7539, allocations: 47.47 kB / 0.5936 GB, free: 60.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7541, allocations: 398 kB / 0.594 GB, free: 60.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.7557, allocations: 1.305 MB / 0.5952 GB, free: 59.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.7574, allocations: 1.731 MB / 0.5969 GB, free: 58.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.7592, allocations: 1.563 MB / 0.5985 GB, free: 57.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.7592, allocations: 4 kB / 0.5985 GB, free: 57.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005544/0.7647, allocations: 4.052 MB / 0.6024 GB, free: 54.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.7648, allocations: 13.19 kB / 0.6024 GB, free: 54.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.7648, allocations: 12 kB / 0.6024 GB, free: 54.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.7664, allocations: 0.7637 MB / 0.6032 GB, free: 53.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.7683, allocations: 0.5226 MB / 0.6037 GB, free: 53.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/0.7757, allocations: 8.948 MB / 0.6124 GB, free: 44.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.778, allocations: 116.9 kB / 0.6125 GB, free: 44.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.7782, allocations: 83.47 kB / 0.6126 GB, free: 44.58 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 () * Number of clocked 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.002232/0.7804, allocations: 1.218 MB / 0.6138 GB, free: 43.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.7809, allocations: 276.6 kB / 0.6141 GB, free: 43.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00522/0.7862, allocations: 3.77 MB / 0.6178 GB, free: 40.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.7862, allocations: 27.95 kB / 0.6178 GB, free: 40.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.7862, allocations: 8 kB / 0.6178 GB, free: 40.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.7862, allocations: 15 kB / 0.6178 GB, free: 40.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.7976, allocations: 8.071 MB / 0.6257 GB, free: 32.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.7977, allocations: 4 kB / 0.6257 GB, free: 32.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.7992, allocations: 395.8 kB / 0.6261 GB, free: 32.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.8011, allocations: 0.8164 MB / 0.6269 GB, free: 31.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.8012, allocations: 51.97 kB / 0.6269 GB, free: 31.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008121/0.8094, allocations: 10.49 MB / 0.6372 GB, free: 20.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.8094, allocations: 4.031 kB / 0.6372 GB, free: 20.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/0.8166, allocations: 5.824 MB / 0.6429 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.8182, allocations: 0.6538 MB / 0.6435 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.8186, allocations: 51.98 kB / 0.6435 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.8199, allocations: 127.9 kB / 0.6437 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/0.8203, allocations: 185.7 kB / 0.6438 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.8204, allocations: 63.98 kB / 0.6439 GB, free: 13.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002126/0.8226, allocations: 1.699 MB / 0.6456 GB, free: 11.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8226, allocations: 4 kB / 0.6456 GB, free: 11.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002437/0.825, allocations: 0.832 MB / 0.6464 GB, free: 10.54 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 () * Number of clocked 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.0005972/0.8256, allocations: 370.7 kB / 0.6467 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00497/0.8306, allocations: 3.933 MB / 0.6506 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8306, allocations: 0 / 0.6506 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.8337, allocations: 2.516 MB / 0.653 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/0.8369, allocations: 0.7404 MB / 0.6538 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.8496, allocations: 9.102 MB / 0.6626 GB, free: 9.812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.8522, allocations: 2.847 MB / 0.6654 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002512/0.8547, allocations: 0.6849 MB / 0.6661 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.8552, allocations: 175.4 kB / 0.6663 GB, free: 6.098 MB / 410.7 MB Notification: Performance of SimCode: time 2.404e-06/0.8553, allocations: 0 / 0.6663 GB, free: 6.098 MB / 410.7 MB Notification: Performance of Templates: time 0.2434/1.099, allocations: 46.15 MB / 0.7113 GB, free: 83.02 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)