Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001541/0.001541, allocations: 183.1 kB / 8.351 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.241/1.241, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 120 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.731e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06969/0.06972, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.3231, allocations: 87.12 MB / 429.7 MB, free: 8.785 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3233, allocations: 85.39 kB / 429.8 MB, free: 8.742 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1776/0.501, allocations: 74.04 MB / 0.492 GB, free: 5.934 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.501, allocations: 0 / 0.492 GB, free: 5.934 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001919/0.5012, allocations: 95.75 kB / 0.4921 GB, free: 5.84 MB / 379.1 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.005335/0.5066, allocations: 2.857 MB / 0.4949 GB, free: 2.922 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.5066, allocations: 8.031 kB / 0.4949 GB, free: 2.914 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.5075, allocations: 404 kB / 0.4953 GB, free: 2.516 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.5111, allocations: 2.174 MB / 0.4974 GB, free: 292 kB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.5112, allocations: 92 kB / 0.4975 GB, free: 200 kB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.5115, allocations: 176 kB / 0.4977 GB, free: 24 kB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004452/0.516, allocations: 2.948 MB / 0.5005 GB, free: 13.07 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.5215, allocations: 3.63 MB / 0.5041 GB, free: 9.281 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.5216, allocations: 4 kB / 0.5041 GB, free: 9.277 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.5218, allocations: 4 kB / 0.5041 GB, free: 9.273 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.5219, allocations: 137.9 kB / 0.5042 GB, free: 9.137 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2114/0.7334, allocations: 10.4 MB / 0.5144 GB, free: 69.6 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.7355, allocations: 2.538 MB / 0.5169 GB, free: 68.44 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.7371, allocations: 1.339 MB / 0.5182 GB, free: 68.43 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.7374, allocations: 141 kB / 0.5183 GB, free: 68.34 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.7374, allocations: 49.16 kB / 0.5183 GB, free: 68.3 MB / 395.1 MB Notification: Performance of pre-optimization done (n=128): time 3.306e-06/0.7374, allocations: 2.844 kB / 0.5184 GB, free: 68.3 MB / 395.1 MB Notification: Performance of matching and sorting (n=133): time 0.006128/0.7435, allocations: 4.183 MB / 0.5224 GB, free: 67.67 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.7436, allocations: 91.3 kB / 0.5225 GB, free: 67.57 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.7453, allocations: 1.426 MB / 0.5239 GB, free: 67.42 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.7454, allocations: 25.7 kB / 0.5239 GB, free: 67.39 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.746, allocations: 1.326 MB / 0.5252 GB, free: 66.93 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.7462, allocations: 438.8 kB / 0.5257 GB, free: 66.7 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.7463, allocations: 2.188 kB / 0.5257 GB, free: 66.7 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.7464, allocations: 360.8 kB / 0.526 GB, free: 66.4 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/0.7472, allocations: 0.7587 MB / 0.5267 GB, free: 66.4 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.7482, allocations: 1.094 MB / 0.5278 GB, free: 66.02 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7493, allocations: 0.9489 MB / 0.5287 GB, free: 66.01 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7493, allocations: 9.469 kB / 0.5287 GB, free: 66.01 MB / 395.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003102/0.7524, allocations: 2.289 MB / 0.531 GB, free: 65.85 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7525, allocations: 10.75 kB / 0.531 GB, free: 65.85 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.7525, allocations: 13.25 kB / 0.531 GB, free: 65.85 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/0.7533, allocations: 351.6 kB / 0.5313 GB, free: 65.84 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.7546, allocations: 336.8 kB / 0.5317 GB, free: 65.84 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.7585, allocations: 3.91 MB / 0.5355 GB, free: 64.5 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.76, allocations: 58.28 kB / 0.5355 GB, free: 64.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.7601, allocations: 61.72 kB / 0.5356 GB, free: 64.5 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.7604, allocations: 137.2 kB / 0.5357 GB, free: 64.39 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.7607, allocations: 179 kB / 0.5359 GB, free: 64.3 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.7635, allocations: 1.991 MB / 0.5378 GB, free: 64.19 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.7636, allocations: 13.09 kB / 0.5379 GB, free: 64.19 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.7636, allocations: 7.234 kB / 0.5379 GB, free: 64.19 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7636, allocations: 7.031 kB / 0.5379 GB, free: 64.19 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006517/0.7701, allocations: 4.641 MB / 0.5424 GB, free: 63.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.7702, allocations: 7.219 kB / 0.5424 GB, free: 63.75 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009552/0.7711, allocations: 236.5 kB / 0.5426 GB, free: 63.75 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007727/0.7719, allocations: 333 kB / 0.5429 GB, free: 63.73 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.772, allocations: 15.98 kB / 0.543 GB, free: 63.73 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.7759, allocations: 3.813 MB / 0.5467 GB, free: 62.4 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7759, allocations: 10.3 kB / 0.5467 GB, free: 62.39 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/0.7799, allocations: 3.112 MB / 0.5497 GB, free: 61.97 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/0.7807, allocations: 441.9 kB / 0.5502 GB, free: 61.79 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.7809, allocations: 12.97 kB / 0.5502 GB, free: 61.79 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.7819, allocations: 82.52 kB / 0.5502 GB, free: 61.79 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.7821, allocations: 95.83 kB / 0.5503 GB, free: 61.79 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/0.7822, allocations: 43.2 kB / 0.5504 GB, free: 61.79 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.7836, allocations: 1.084 MB / 0.5514 GB, free: 61.68 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7836, allocations: 0 / 0.5514 GB, free: 61.68 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001738/0.7854, allocations: 0.5089 MB / 0.5519 GB, free: 61.68 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003621/0.7857, allocations: 196.7 kB / 0.5521 GB, free: 61.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.7883, allocations: 2.163 MB / 0.5542 GB, free: 61.32 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7884, allocations: 6.062 kB / 0.5542 GB, free: 61.32 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.7898, allocations: 1.236 MB / 0.5555 GB, free: 60.8 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7914, allocations: 351.3 kB / 0.5558 GB, free: 60.71 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.7993, allocations: 4.541 MB / 0.5602 GB, free: 59.02 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.8016, allocations: 2.48 MB / 0.5626 GB, free: 57.94 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.8031, allocations: 455.2 kB / 0.5631 GB, free: 57.92 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.8035, allocations: 116.4 kB / 0.5632 GB, free: 57.91 MB / 395.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8035, allocations: 3.562 kB / 0.5632 GB, free: 57.91 MB / 395.1 MB Notification: Performance of Templates: time 0.0335/0.837, allocations: 22.8 MB / 0.5855 GB, free: 56.79 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)