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.001278/0.001278, 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.422/1.422, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001597/0.001597, allocations: 124.8 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.097e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06755/0.06759, allocations: 44.51 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3507, allocations: 107.4 MB / 456.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.3509, allocations: 88.14 kB / 456.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4189/0.7698, allocations: 94.12 MB / 0.5381 GB, free: 67.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7698, allocations: 1.031 kB / 0.5381 GB, free: 67.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002585/0.7701, allocations: 96.53 kB / 0.5382 GB, free: 67.2 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.007281/0.7774, allocations: 3.542 MB / 0.5417 GB, free: 66.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7774, allocations: 12.39 kB / 0.5417 GB, free: 66.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.7791, allocations: 0.5051 MB / 0.5422 GB, free: 65.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.7837, allocations: 2.542 MB / 0.5447 GB, free: 65.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.7839, allocations: 266.5 kB / 0.5449 GB, free: 65.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/0.7845, allocations: 354 kB / 0.5453 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008204/0.7927, allocations: 4.842 MB / 0.55 GB, free: 64.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.772e-05/0.7928, allocations: 14.2 kB / 0.55 GB, free: 64.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/0.7932, allocations: 151 kB / 0.5502 GB, free: 64.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.7934, allocations: 173.7 kB / 0.5503 GB, free: 64.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005712/0.7991, allocations: 3.914 MB / 0.5541 GB, free: 64.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.8178, allocations: 14.96 MB / 0.5687 GB, free: 61.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.8212, allocations: 4.151 MB / 0.5728 GB, free: 59.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.8235, allocations: 1.831 MB / 0.5746 GB, free: 59.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.8238, allocations: 147.9 kB / 0.5747 GB, free: 59.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.8239, allocations: 52.28 kB / 0.5748 GB, free: 59.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 4.418e-06/0.8239, allocations: 3.375 kB / 0.5748 GB, free: 59.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.01474/0.8387, allocations: 8.339 MB / 0.5829 GB, free: 57.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.8387, allocations: 73.72 kB / 0.583 GB, free: 57.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.8415, allocations: 2.184 MB / 0.5851 GB, free: 56.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.8417, allocations: 61.55 kB / 0.5852 GB, free: 56.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.8424, allocations: 1.611 MB / 0.5868 GB, free: 55.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/0.8428, allocations: 0.7302 MB / 0.5875 GB, free: 54.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.843, allocations: 51.22 kB / 0.5875 GB, free: 54.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.8431, allocations: 399.2 kB / 0.5879 GB, free: 54.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.8445, allocations: 1.233 MB / 0.5891 GB, free: 54.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.8462, allocations: 1.665 MB / 0.5907 GB, free: 53.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.8479, allocations: 1.485 MB / 0.5922 GB, free: 52.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.8479, allocations: 7.25 kB / 0.5922 GB, free: 52.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005372/0.8533, allocations: 3.91 MB / 0.596 GB, free: 51.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.8533, allocations: 10.56 kB / 0.596 GB, free: 51.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.8533, allocations: 15.19 kB / 0.596 GB, free: 51.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.855, allocations: 0.7559 MB / 0.5968 GB, free: 51.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.857, allocations: 0.5313 MB / 0.5973 GB, free: 51.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007477/0.8645, allocations: 8.708 MB / 0.6058 GB, free: 44.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.8666, allocations: 122.8 kB / 0.6059 GB, free: 44.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.8668, allocations: 89.56 kB / 0.606 GB, free: 44.9 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.0003861/0.8672, allocations: 239.8 kB / 0.6062 GB, free: 44.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/0.8677, allocations: 275.6 kB / 0.6065 GB, free: 44.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.8729, allocations: 3.644 MB / 0.61 GB, free: 43.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.873, allocations: 21.59 kB / 0.6101 GB, free: 43.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.873, allocations: 7.188 kB / 0.6101 GB, free: 43.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.873, allocations: 10.55 kB / 0.6101 GB, free: 43.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.8842, allocations: 7.943 MB / 0.6178 GB, free: 40.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.8843, allocations: 6.125 kB / 0.6178 GB, free: 40.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.8859, allocations: 397.8 kB / 0.6182 GB, free: 40.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.8878, allocations: 0.8064 MB / 0.619 GB, free: 39.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.8879, allocations: 57.25 kB / 0.6191 GB, free: 39.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008395/0.8963, allocations: 10.21 MB / 0.629 GB, free: 32.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.8964, allocations: 4.031 kB / 0.629 GB, free: 32.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/0.9038, allocations: 5.608 MB / 0.6345 GB, free: 27.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/0.9057, allocations: 0.6447 MB / 0.6352 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000802/0.9065, allocations: 51.61 kB / 0.6352 GB, free: 26.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.9083, allocations: 122.5 kB / 0.6353 GB, free: 26.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/0.9087, allocations: 190.8 kB / 0.6355 GB, free: 26.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.9089, allocations: 59.84 kB / 0.6356 GB, free: 26.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002789/0.9117, allocations: 1.678 MB / 0.6372 GB, free: 24.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9117, allocations: 0 / 0.6372 GB, free: 24.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00298/0.9147, allocations: 0.8375 MB / 0.638 GB, free: 23.96 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.000651/0.9154, allocations: 383 kB / 0.6384 GB, free: 23.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004941/0.9203, allocations: 3.769 MB / 0.6421 GB, free: 20.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.9203, allocations: 4.062 kB / 0.6421 GB, free: 20.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.9234, allocations: 2.439 MB / 0.6444 GB, free: 17.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/0.927, allocations: 0.7365 MB / 0.6452 GB, free: 17.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.9383, allocations: 6.445 MB / 0.6515 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002686/0.941, allocations: 2.847 MB / 0.6542 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002235/0.9433, allocations: 0.6759 MB / 0.6549 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.944, allocations: 179.1 kB / 0.6551 GB, free: 8.887 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.944, allocations: 4 kB / 0.6551 GB, free: 8.883 MB / 394.7 MB Notification: Performance of Templates: time 0.2743/1.218, allocations: 46.83 MB / 0.7008 GB, free: 59.46 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)