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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002882/0.002882, allocations: 196.5 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 52.34 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01148/0.318, allocations: 7.667 MB / 332.4 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00744/0.3255, allocations: 2.702 MB / 335.1 MB, free: 9.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.3279, allocations: 57 kB / 335.1 MB, free: 9.645 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.3297, allocations: 493.8 kB / 335.6 MB, free: 9.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.3327, allocations: 0.6686 MB / 336.3 MB, free: 8.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.334, allocations: 395.6 kB / 336.6 MB, free: 8.152 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004724/0.3387, allocations: 3.78 MB / 340.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.3423, allocations: 2.808 MB / 343.2 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.3462, allocations: 1.422 MB / 344.7 MB, free: 68 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.3501, allocations: 1.938 MB / 346.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007944/0.351, allocations: 288 kB / 346.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3526, allocations: 0.5229 MB / 347.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.3537, allocations: 1.059 MB / 348.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.3563, allocations: 1.773 MB / 350.2 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006843/0.3632, allocations: 5.904 MB / 356.1 MB, free: 4.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3632, allocations: 4 kB / 356.1 MB, free: 4.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3633, allocations: 0 / 356.1 MB, free: 4.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002177/0.3635, allocations: 3.938 kB / 356.1 MB, free: 4.543 MB / 286.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.01144/0.3749, allocations: 3.783 MB / 359.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/0.375, allocations: 12.03 kB / 359.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.3764, allocations: 388.6 kB / 360.3 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.3802, allocations: 1.952 MB / 362.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3804, allocations: 221.8 kB / 362.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/0.3808, allocations: 284 kB / 362.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009046/0.3899, allocations: 4.187 MB / 367 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/0.39, allocations: 0 / 367 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003031/0.3903, allocations: 120 kB / 367.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/0.3906, allocations: 141.9 kB / 367.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/0.3982, allocations: 3.493 MB / 370.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/0.4251, allocations: 10.94 MB / 381.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.4287, allocations: 2.642 MB / 384.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.4317, allocations: 1.481 MB / 385.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/0.4321, allocations: 130.1 kB / 385.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/0.4322, allocations: 43.56 kB / 385.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.51e-06/0.4322, allocations: 0 / 385.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01181/0.444, allocations: 5.282 MB / 391.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.4442, allocations: 90.42 kB / 391.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.4477, allocations: 1.917 MB / 393.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.448, allocations: 53.7 kB / 393.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.4492, allocations: 1.311 MB / 394.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.4497, allocations: 465.2 kB / 395 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/0.4502, allocations: 275.3 kB / 395.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4504, allocations: 305.1 kB / 395.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4517, allocations: 0.8159 MB / 396.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.4534, allocations: 1.187 MB / 397.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.4564, allocations: 2.091 MB / 399.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.4564, allocations: 0 / 399.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004783/0.4612, allocations: 2.527 MB / 402.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.4613, allocations: 12 kB / 402.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.4614, allocations: 8 kB / 402.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.4634, allocations: 486.4 kB / 402.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.4648, allocations: 331.5 kB / 403 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.4705, allocations: 4.065 MB / 407.1 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.4728, allocations: 83.83 kB / 407.2 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.4731, allocations: 60 kB / 407.2 MB, free: 244 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003071/0.4761, allocations: 1.052 MB / 408.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008522/0.477, allocations: 193.7 kB / 408.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.4814, allocations: 2.129 MB / 410.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/0.4815, allocations: 19.98 kB / 410.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.4815, allocations: 7.938 kB / 410.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.4815, allocations: 7.984 kB / 410.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.493, allocations: 5.198 MB / 415.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.4931, allocations: 4 kB / 415.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.4942, allocations: 235.9 kB / 416.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.4961, allocations: 456.5 kB / 416.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.4963, allocations: 35.98 kB / 416.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/0.5017, allocations: 3.955 MB / 420.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5018, allocations: 0 / 420.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006053/0.5078, allocations: 3.25 MB / 423.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.5093, allocations: 470.6 kB / 424.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.5097, allocations: 27.98 kB / 424.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5108, allocations: 91.89 kB / 424.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.5112, allocations: 100.9 kB / 424.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.5113, allocations: 36 kB / 424.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002593/0.5139, allocations: 1.342 MB / 425.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5139, allocations: 0 / 425.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002747/0.5167, allocations: 0.5508 MB / 426.4 MB, free: 12.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000741/0.5174, allocations: 218.9 kB / 426.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004423/0.5219, allocations: 2.188 MB / 428.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.5219, allocations: 0 / 428.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.5245, allocations: 1.223 MB / 430 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.5277, allocations: 497.3 kB / 430.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.542, allocations: 7.058 MB / 437.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.5448, allocations: 2.427 MB / 440 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002361/0.5472, allocations: 495.4 kB / 440.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.5477, allocations: 131.4 kB / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.928e-06/0.5477, allocations: 0 / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.3049/0.8526, allocations: 29.07 MB / 469.7 MB, free: 104.4 MB / 382.1 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)