Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006573/0.006573, allocations: 165.6 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.455/1.455, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001851/0.001851, allocations: 103.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 38.76 MB / 312.9 MB, free: 38.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4255, allocations: 82.51 MB / 395.4 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/0.4259, allocations: 83.95 kB / 395.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4155/0.8415, allocations: 74.86 MB / 470.3 MB, free: 52.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.8415, allocations: 0 / 470.3 MB, free: 52.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001994/0.8417, allocations: 83.88 kB / 470.4 MB, free: 52.46 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007028/0.8488, allocations: 3.132 MB / 473.6 MB, free: 49.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8488, allocations: 8.031 kB / 473.6 MB, free: 49.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.8501, allocations: 404 kB / 474 MB, free: 48.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.8538, allocations: 1.992 MB / 475.9 MB, free: 46.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.8539, allocations: 221.8 kB / 476.2 MB, free: 46.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004139/0.8544, allocations: 284 kB / 476.4 MB, free: 46.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005984/0.8603, allocations: 4.133 MB / 480.6 MB, free: 42.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.8604, allocations: 0 / 480.6 MB, free: 42.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.8607, allocations: 128 kB / 480.7 MB, free: 41.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.511e-05/0.8608, allocations: 133.9 kB / 480.8 MB, free: 41.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.8654, allocations: 3.224 MB / 484.1 MB, free: 38.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.8822, allocations: 10.91 MB / 495 MB, free: 27.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.8844, allocations: 2.638 MB / 497.6 MB, free: 24.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.8847, allocations: 142 kB / 497.7 MB, free: 24.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.8848, allocations: 51.56 kB / 497.8 MB, free: 24.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.847e-06/0.8848, allocations: 0 / 497.8 MB, free: 24.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.008477/0.8933, allocations: 5.66 MB / 0.4916 GB, free: 18.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.8934, allocations: 90.42 kB / 0.4917 GB, free: 18.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.8955, allocations: 1.607 MB / 0.4933 GB, free: 16.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.8956, allocations: 45.7 kB / 0.4933 GB, free: 16.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.8962, allocations: 1.31 MB / 0.4946 GB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.8964, allocations: 453.4 kB / 0.4951 GB, free: 15.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.8965, allocations: 28 kB / 0.4951 GB, free: 14.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.8966, allocations: 373.8 kB / 0.4954 GB, free: 14.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.8976, allocations: 0.8237 MB / 0.4962 GB, free: 13.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.8988, allocations: 1.169 MB / 0.4974 GB, free: 12.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.9001, allocations: 1.025 MB / 0.4984 GB, free: 11.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.9001, allocations: 4 kB / 0.4984 GB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003651/0.9037, allocations: 2.542 MB / 0.5009 GB, free: 8.895 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9038, allocations: 11.94 kB / 0.5009 GB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.9038, allocations: 12 kB / 0.5009 GB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009423/0.9048, allocations: 376.7 kB / 0.5013 GB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.906, allocations: 327.5 kB / 0.5016 GB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.9103, allocations: 4.346 MB / 0.5058 GB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.9119, allocations: 91.98 kB / 0.5059 GB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.912, allocations: 71.91 kB / 0.506 GB, free: 3.527 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.9137, allocations: 1.028 MB / 0.507 GB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.9142, allocations: 193.7 kB / 0.5072 GB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.9172, allocations: 2.215 MB / 0.5093 GB, free: 64 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9173, allocations: 12 kB / 0.5093 GB, free: 52 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9173, allocations: 4 kB / 0.5093 GB, free: 48 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.9173, allocations: 3.984 kB / 0.5093 GB, free: 44 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.9279, allocations: 5.122 MB / 0.5143 GB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/0.928, allocations: 11.98 kB / 0.5144 GB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.929, allocations: 223.6 kB / 0.5146 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.9301, allocations: 360.5 kB / 0.5149 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.9302, allocations: 31.98 kB / 0.5149 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/0.9363, allocations: 4.287 MB / 0.5191 GB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.9363, allocations: 4.031 kB / 0.5191 GB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.9417, allocations: 3.305 MB / 0.5224 GB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.943, allocations: 458.7 kB / 0.5228 GB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.9433, allocations: 28 kB / 0.5228 GB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009177/0.9442, allocations: 104 kB / 0.5229 GB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.9444, allocations: 92.83 kB / 0.523 GB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.9445, allocations: 39.98 kB / 0.5231 GB, free: 1.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001896/0.9464, allocations: 1.248 MB / 0.5243 GB, free: 500 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9464, allocations: 0 / 0.5243 GB, free: 500 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001743/0.9482, allocations: 0.5586 MB / 0.5248 GB, free: 15.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000374/0.9486, allocations: 203.3 kB / 0.525 GB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.9519, allocations: 2.333 MB / 0.5273 GB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9519, allocations: 0 / 0.5273 GB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.9538, allocations: 1.337 MB / 0.5286 GB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.9558, allocations: 472.8 kB / 0.529 GB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.9662, allocations: 6.58 MB / 0.5355 GB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.9684, allocations: 2.469 MB / 0.5379 GB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0018/0.9702, allocations: 470.9 kB / 0.5383 GB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.9706, allocations: 111.4 kB / 0.5384 GB, free: 1.828 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.9706, allocations: 0 / 0.5384 GB, free: 1.828 MB / 346.7 MB Notification: Performance of Templates: time 0.241/1.212, allocations: 27.38 MB / 0.5652 GB, free: 77.05 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)