Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0067/0.0067, allocations: 164.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.527/1.527, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001798/0.001798, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004031, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 38.77 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.378, allocations: 102.3 MB / 415.2 MB, free: 4.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.3784, allocations: 87.95 kB / 415.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4076/0.7859, allocations: 94.27 MB / 0.4976 GB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.786, allocations: 0 / 0.4976 GB, free: 15.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003852/0.7864, allocations: 99.88 kB / 0.4977 GB, free: 15.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01117/0.7976, allocations: 3.935 MB / 0.5015 GB, free: 11.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.7976, allocations: 12.03 kB / 0.5015 GB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.8002, allocations: 0.5063 MB / 0.502 GB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/0.8071, allocations: 2.513 MB / 0.5045 GB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.8074, allocations: 263 kB / 0.5047 GB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.809, allocations: 363.8 kB / 0.5051 GB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.8239, allocations: 4.912 MB / 0.5099 GB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/0.8242, allocations: 11.89 kB / 0.5099 GB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/0.8253, allocations: 152 kB / 0.51 GB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.8255, allocations: 171 kB / 0.5102 GB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008895/0.8344, allocations: 4.041 MB / 0.5142 GB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/0.874, allocations: 14.89 MB / 0.5287 GB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007708/0.8818, allocations: 4.234 MB / 0.5328 GB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.8823, allocations: 143.1 kB / 0.533 GB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.038e-05/0.8824, allocations: 60.55 kB / 0.533 GB, free: 10.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 7.394e-06/0.8825, allocations: 0 / 0.533 GB, free: 10.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.02954/0.912, allocations: 10.15 MB / 0.5429 GB, free: 16 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.21/1.122, allocations: 75 kB / 0.543 GB, free: 56.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/1.126, allocations: 2.186 MB / 0.5451 GB, free: 56.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000536/1.126, allocations: 60.36 kB / 0.5452 GB, free: 56.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.127, allocations: 1.595 MB / 0.5468 GB, free: 56.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/1.128, allocations: 0.7395 MB / 0.5475 GB, free: 55.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.128, allocations: 47.19 kB / 0.5475 GB, free: 55.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/1.128, allocations: 392.7 kB / 0.5479 GB, free: 55.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.13, allocations: 1.31 MB / 0.5492 GB, free: 55.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/1.132, allocations: 1.738 MB / 0.5509 GB, free: 55.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/1.134, allocations: 1.549 MB / 0.5524 GB, free: 55.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/1.134, allocations: 3.906 kB / 0.5524 GB, free: 55.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006212/1.14, allocations: 4.058 MB / 0.5564 GB, free: 54.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/1.14, allocations: 16.77 kB / 0.5564 GB, free: 54.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.14, allocations: 11.31 kB / 0.5564 GB, free: 54.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/1.142, allocations: 0.7569 MB / 0.5571 GB, free: 54.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/1.144, allocations: 0.5275 MB / 0.5576 GB, free: 54.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008194/1.152, allocations: 8.943 MB / 0.5664 GB, free: 50.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.154, allocations: 124.3 kB / 0.5665 GB, free: 50.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/1.155, allocations: 85.03 kB / 0.5666 GB, free: 50.86 MB / 346.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.002378/1.157, allocations: 1.203 MB / 0.5677 GB, free: 50.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/1.158, allocations: 279.7 kB / 0.568 GB, free: 50.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/1.164, allocations: 3.78 MB / 0.5717 GB, free: 50.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/1.164, allocations: 21.03 kB / 0.5717 GB, free: 50.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.164, allocations: 7.656 kB / 0.5717 GB, free: 50.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/1.164, allocations: 13.88 kB / 0.5717 GB, free: 50.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.177, allocations: 8.064 MB / 0.5796 GB, free: 49.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.177, allocations: 8.766 kB / 0.5796 GB, free: 49.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.179, allocations: 398.5 kB / 0.58 GB, free: 49.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/1.181, allocations: 0.8117 MB / 0.5808 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/1.182, allocations: 62.16 kB / 0.5809 GB, free: 48.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.192, allocations: 10.46 MB / 0.5911 GB, free: 41.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.192, allocations: 6.594 kB / 0.5911 GB, free: 41.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008279/1.2, allocations: 5.831 MB / 0.5968 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.202, allocations: 0.6474 MB / 0.5974 GB, free: 38.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/1.202, allocations: 52.94 kB / 0.5975 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.204, allocations: 131.1 kB / 0.5976 GB, free: 38.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/1.204, allocations: 171 kB / 0.5977 GB, free: 38.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.204, allocations: 67.56 kB / 0.5978 GB, free: 38.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002376/1.207, allocations: 1.69 MB / 0.5995 GB, free: 37.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.207, allocations: 0 / 0.5995 GB, free: 37.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002649/1.209, allocations: 0.8366 MB / 0.6003 GB, free: 37.67 MB / 346.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.0006126/1.21, allocations: 374.4 kB / 0.6006 GB, free: 37.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005123/1.215, allocations: 3.939 MB / 0.6045 GB, free: 35.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.215, allocations: 3.688 kB / 0.6045 GB, free: 35.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003489/1.219, allocations: 2.519 MB / 0.6069 GB, free: 34.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.222, allocations: 0.7486 MB / 0.6077 GB, free: 34.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/1.235, allocations: 9.075 MB / 0.6165 GB, free: 29.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/1.238, allocations: 2.831 MB / 0.6193 GB, free: 28.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002588/1.24, allocations: 0.6872 MB / 0.62 GB, free: 28.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/1.241, allocations: 171.3 kB / 0.6201 GB, free: 28.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/1.241, allocations: 2.906 kB / 0.6201 GB, free: 28.48 MB / 346.7 MB Notification: Performance of Templates: time 0.07267/1.313, allocations: 45.78 MB / 0.6649 GB, free: 9.684 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)