Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001132/0.001132, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.009762/0.009762, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.034/2.034, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005496/0.0005496, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3311, allocations: 47.57 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00927/0.3404, allocations: 7.166 MB / 334.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.3477, allocations: 2.668 MB / 336.9 MB, free: 9.516 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.3493, allocations: 51.69 kB / 336.9 MB, free: 9.465 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.3506, allocations: 494.5 kB / 337.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.353, allocations: 0.6724 MB / 338.1 MB, free: 8.305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.3541, allocations: 391.6 kB / 338.5 MB, free: 7.922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.3581, allocations: 3.776 MB / 342.2 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.3616, allocations: 2.785 MB / 345 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3646, allocations: 1.215 MB / 346.2 MB, free: 72 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.3673, allocations: 1.669 MB / 347.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.3676, allocations: 200 kB / 348.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009763/0.3686, allocations: 431.4 kB / 348.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008879/0.3695, allocations: 0.915 MB / 349.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.3715, allocations: 1.63 MB / 351.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005769/0.3773, allocations: 5.723 MB / 356.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3773, allocations: 0 / 356.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3773, allocations: 4 kB / 356.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.3775, allocations: 0 / 356.8 MB, free: 5.469 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.007491/0.385, allocations: 3.155 MB / 359.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.385, allocations: 8.031 kB / 360 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3862, allocations: 392.7 kB / 360.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.3895, allocations: 1.952 MB / 362.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.3897, allocations: 225.8 kB / 362.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.3901, allocations: 283.9 kB / 362.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007605/0.3977, allocations: 4.191 MB / 367 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.3978, allocations: 0 / 367 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.3981, allocations: 116 kB / 367.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/0.3983, allocations: 145.9 kB / 367.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006476/0.4048, allocations: 3.497 MB / 370.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02118/0.426, allocations: 11.01 MB / 381.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.4288, allocations: 2.65 MB / 384.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/0.4312, allocations: 1.485 MB / 385.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.4315, allocations: 118.1 kB / 386 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.4316, allocations: 55.56 kB / 386 MB, free: 7.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.497e-06/0.4316, allocations: 0 / 386 MB, free: 7.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.00992/0.4415, allocations: 5.321 MB / 391.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.4416, allocations: 90.42 kB / 391.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.4445, allocations: 1.909 MB / 393.4 MB, free: 184 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.4447, allocations: 45.7 kB / 393.4 MB, free: 132 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009464/0.4456, allocations: 1.326 MB / 394.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.446, allocations: 461.3 kB / 395.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4462, allocations: 125.6 kB / 395.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.4463, allocations: 305.1 kB / 395.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.4475, allocations: 0.8159 MB / 396.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.449, allocations: 1.195 MB / 397.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.4518, allocations: 2.103 MB / 399.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.4518, allocations: 4 kB / 399.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004239/0.456, allocations: 2.538 MB / 402.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4561, allocations: 8 kB / 402.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.4561, allocations: 12 kB / 402.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.4581, allocations: 486.4 kB / 402.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.4594, allocations: 343.4 kB / 403.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.4644, allocations: 4.072 MB / 407.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4659, allocations: 95.89 kB / 407.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.4661, allocations: 63.98 kB / 407.3 MB, free: 1.746 MB / 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.002257/0.4684, allocations: 1.036 MB / 408.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006542/0.469, allocations: 197.7 kB / 408.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.4727, allocations: 2.156 MB / 410.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/0.4728, allocations: 16 kB / 410.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4728, allocations: 4 kB / 410.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4728, allocations: 11.91 kB / 410.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009864/0.4827, allocations: 5.214 MB / 415.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.4827, allocations: 4 kB / 416 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.4837, allocations: 227.7 kB / 416.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.4856, allocations: 468.6 kB / 416.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.352e-05/0.4857, allocations: 31.98 kB / 416.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.4909, allocations: 3.971 MB / 420.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4909, allocations: 4.031 kB / 420.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.4964, allocations: 3.269 MB / 423.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.4976, allocations: 466.6 kB / 424.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.4979, allocations: 35.98 kB / 424.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.4989, allocations: 104 kB / 424.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.4992, allocations: 96.8 kB / 424.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.4993, allocations: 39.98 kB / 424.6 MB, free: 104 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002102/0.5014, allocations: 1.338 MB / 426 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5014, allocations: 4 kB / 426 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001923/0.5033, allocations: 0.5546 MB / 426.5 MB, free: 14.21 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.0005815/0.5039, allocations: 219.4 kB / 426.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.5081, allocations: 2.208 MB / 429 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5081, allocations: 0 / 429 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.5102, allocations: 1.23 MB / 430.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.5133, allocations: 489.3 kB / 430.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.5248, allocations: 7.106 MB / 437.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/0.5271, allocations: 2.439 MB / 440.2 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001655/0.5288, allocations: 495.4 kB / 440.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.5292, allocations: 131.4 kB / 440.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5292, allocations: 0 / 440.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of Templates: time 0.2877/0.8169, allocations: 28.61 MB / 469.4 MB, free: 104.4 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)