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.001271/0.001271, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.215/1.215, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001708/0.001708, allocations: 107.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.474e-05, allocations: 0 / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06568/0.06572, allocations: 38.78 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/0.3231, allocations: 101.5 MB / 402.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.3234, allocations: 84.83 kB / 402.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4084/0.7318, allocations: 93.34 MB / 495.9 MB, free: 69.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7318, allocations: 0 / 495.9 MB, free: 69.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004379/0.7323, allocations: 103.2 kB / 496 MB, free: 69.26 MB / 346.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.009859/0.7422, allocations: 3.537 MB / 499.6 MB, free: 67.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7422, allocations: 9.375 kB / 499.6 MB, free: 67.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.7447, allocations: 0.5052 MB / 0.4884 GB, free: 67.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.7503, allocations: 2.497 MB / 0.4908 GB, free: 67.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.7505, allocations: 117.5 kB / 0.4909 GB, free: 67.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.7518, allocations: 208 kB / 0.4911 GB, free: 67.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007849/0.7596, allocations: 3.679 MB / 0.4947 GB, free: 67.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.7717, allocations: 4.306 MB / 0.4989 GB, free: 66.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/0.7719, allocations: 18.56 kB / 0.4989 GB, free: 66.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.7731, allocations: 3.969 kB / 0.4989 GB, free: 66.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.7732, allocations: 173.5 kB / 0.4991 GB, free: 66.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/0.799, allocations: 14.17 MB / 0.5129 GB, free: 60.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.8026, allocations: 4.061 MB / 0.5169 GB, free: 58.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.8048, allocations: 1.763 MB / 0.5186 GB, free: 57.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.8052, allocations: 146 kB / 0.5188 GB, free: 57.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.8052, allocations: 52.97 kB / 0.5188 GB, free: 57.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 5.059e-06/0.8052, allocations: 0 / 0.5188 GB, free: 57.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.01257/0.8178, allocations: 7.204 MB / 0.5259 GB, free: 54.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.8179, allocations: 75.5 kB / 0.5259 GB, free: 54.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/0.8213, allocations: 1.723 MB / 0.5276 GB, free: 53.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003994/0.8218, allocations: 25.7 kB / 0.5276 GB, free: 53.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009411/0.8227, allocations: 1.596 MB / 0.5292 GB, free: 52.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000865/0.8236, allocations: 0.7106 MB / 0.5299 GB, free: 51.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.824, allocations: 0 / 0.5299 GB, free: 51.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.8241, allocations: 396.5 kB / 0.5303 GB, free: 51.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.8258, allocations: 1.189 MB / 0.5314 GB, free: 50.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.8277, allocations: 1.61 MB / 0.533 GB, free: 50 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.8297, allocations: 1.44 MB / 0.5344 GB, free: 48.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.8297, allocations: 0 / 0.5344 GB, free: 48.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006189/0.8359, allocations: 3.665 MB / 0.538 GB, free: 45.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.836, allocations: 16 kB / 0.538 GB, free: 45.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.836, allocations: 19.31 kB / 0.538 GB, free: 45.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.8378, allocations: 0.7514 MB / 0.5388 GB, free: 45.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.84, allocations: 0.53 MB / 0.5393 GB, free: 44.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/0.8479, allocations: 8.344 MB / 0.5474 GB, free: 36.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.8504, allocations: 72.55 kB / 0.5475 GB, free: 36.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006943/0.8511, allocations: 84 kB / 0.5476 GB, free: 36.54 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 () * 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.00091/0.852, allocations: 164.4 kB / 0.5477 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009745/0.853, allocations: 248.7 kB / 0.548 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/0.8588, allocations: 3.418 MB / 0.5513 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.8589, allocations: 20 kB / 0.5513 GB, free: 33.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.859, allocations: 8 kB / 0.5513 GB, free: 33.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.859, allocations: 11.3 kB / 0.5513 GB, free: 33.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.8721, allocations: 7.269 MB / 0.5584 GB, free: 27.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.8722, allocations: 4 kB / 0.5584 GB, free: 27.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.8738, allocations: 401.8 kB / 0.5588 GB, free: 27.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.8759, allocations: 0.7991 MB / 0.5596 GB, free: 26.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/0.8762, allocations: 22.94 kB / 0.5596 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008021/0.8842, allocations: 9.81 MB / 0.5692 GB, free: 16.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8842, allocations: 4 kB / 0.5692 GB, free: 16.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00715/0.8914, allocations: 5.388 MB / 0.5745 GB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.8929, allocations: 0.6035 MB / 0.5751 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006423/0.8935, allocations: 19.94 kB / 0.5751 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8951, allocations: 94.27 kB / 0.5752 GB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.8956, allocations: 177.8 kB / 0.5753 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.8957, allocations: 59.98 kB / 0.5754 GB, free: 10.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002301/0.8981, allocations: 1.297 MB / 0.5767 GB, free: 9.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8981, allocations: 4.188 kB / 0.5767 GB, free: 9.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003039/0.9011, allocations: 0.7189 MB / 0.5774 GB, free: 8.812 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 () * 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.0005789/0.9017, allocations: 340.5 kB / 0.5777 GB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.9062, allocations: 3.637 MB / 0.5812 GB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.9062, allocations: 5.062 kB / 0.5812 GB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/0.9093, allocations: 2.344 MB / 0.5835 GB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/0.9131, allocations: 0.525 MB / 0.5841 GB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1901/1.103, allocations: 6.231 MB / 0.5901 GB, free: 60.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004042/1.107, allocations: 2.84 MB / 0.5929 GB, free: 59.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002597/1.11, allocations: 0.6255 MB / 0.5935 GB, free: 59.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/1.111, allocations: 159.7 kB / 0.5937 GB, free: 59.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.983e-06/1.111, allocations: 0 / 0.5937 GB, free: 59.74 MB / 346.7 MB Notification: Performance of Templates: time 0.05295/1.164, allocations: 35.36 MB / 0.6282 GB, free: 57.85 MB / 346.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)