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.001377/0.001384, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001772/0.001772, allocations: 193.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001509/0.001509, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009738/0.343, allocations: 7.676 MB / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007062/0.3501, allocations: 2.681 MB / 335.2 MB, free: 9.672 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.3526, allocations: 52.84 kB / 335.3 MB, free: 9.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.3552, allocations: 491.4 kB / 335.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.3605, allocations: 0.6685 MB / 336.4 MB, free: 8.516 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3621, allocations: 391.6 kB / 336.8 MB, free: 8.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005504/0.3676, allocations: 3.39 MB / 340.2 MB, free: 4.727 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005604/0.3732, allocations: 3.441 MB / 343.6 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005633/0.3789, allocations: 1.656 MB / 345.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005259/0.3842, allocations: 2.063 MB / 347.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.3858, allocations: 464 kB / 347.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.3886, allocations: 0.6753 MB / 348.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.3904, allocations: 1.235 MB / 349.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00477/0.3952, allocations: 1.972 MB / 351.7 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.4056, allocations: 6.045 MB / 357.7 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.4057, allocations: 0 / 357.7 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.4057, allocations: 4 kB / 357.7 MB, free: 3.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002681/0.406, allocations: 0 / 357.7 MB, free: 3.086 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.01295/0.4189, allocations: 3.771 MB / 361.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.419, allocations: 12.03 kB / 361.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4204, allocations: 392.6 kB / 361.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.4246, allocations: 1.952 MB / 363.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.4249, allocations: 221.8 kB / 364.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004851/0.4253, allocations: 287.9 kB / 364.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009108/0.4345, allocations: 4.183 MB / 368.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/0.4346, allocations: 0 / 368.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003031/0.4349, allocations: 120 kB / 368.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/0.4351, allocations: 145.8 kB / 368.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00695/0.4421, allocations: 3.49 MB / 372.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02864/0.4707, allocations: 10.94 MB / 383.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/0.4761, allocations: 2.646 MB / 385.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.4797, allocations: 1.477 MB / 387.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004146/0.4802, allocations: 130.1 kB / 387.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.4803, allocations: 43.56 kB / 387.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 6.001e-06/0.4803, allocations: 3.938 kB / 387.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01339/0.4937, allocations: 5.282 MB / 392.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.4939, allocations: 94.42 kB / 392.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/0.4987, allocations: 1.917 MB / 394.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003023/0.499, allocations: 49.69 kB / 394.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.5006, allocations: 1.314 MB / 396.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006868/0.5013, allocations: 457.3 kB / 396.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/0.5021, allocations: 271.3 kB / 396.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5023, allocations: 313 kB / 397.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.504, allocations: 0.8159 MB / 398 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.506, allocations: 1.183 MB / 399.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.5096, allocations: 2.087 MB / 401.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.5097, allocations: 4 kB / 401.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005937/0.5156, allocations: 2.523 MB / 403.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.5157, allocations: 12 kB / 403.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.5157, allocations: 8 kB / 403.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.5181, allocations: 494.3 kB / 404.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5198, allocations: 331.5 kB / 404.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/0.5264, allocations: 4.415 MB / 409 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.5287, allocations: 83.92 kB / 409.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/0.529, allocations: 67.95 kB / 409.2 MB, free: 14.43 MB / 350.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.002959/0.532, allocations: 1.048 MB / 410.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000916/0.5329, allocations: 189.8 kB / 410.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/0.5376, allocations: 2.137 MB / 412.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.5377, allocations: 20 kB / 412.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.5377, allocations: 4 kB / 412.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.5378, allocations: 7.969 kB / 412.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.5509, allocations: 5.194 MB / 417.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.551, allocations: 4 kB / 417.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.5521, allocations: 227.9 kB / 418 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.5543, allocations: 464.5 kB / 418.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.5545, allocations: 39.92 kB / 418.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006908/0.5614, allocations: 4.291 MB / 422.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.5614, allocations: 7.969 kB / 422.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006943/0.5684, allocations: 3.253 MB / 426.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/0.57, allocations: 454.8 kB / 426.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/0.5707, allocations: 28 kB / 426.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.5724, allocations: 103.9 kB / 426.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.5728, allocations: 92.8 kB / 426.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.5729, allocations: 40 kB / 426.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003138/0.5761, allocations: 1.338 MB / 428.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5761, allocations: 0 / 428.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003102/0.5792, allocations: 0.5546 MB / 428.6 MB, free: 10.64 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.0009793/0.5802, allocations: 214.2 kB / 428.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006991/0.5872, allocations: 2.867 MB / 431.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.5873, allocations: 4 kB / 431.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.5896, allocations: 1.223 MB / 432.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/0.5928, allocations: 0.5089 MB / 433.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.6079, allocations: 7.044 MB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004009/0.612, allocations: 2.427 MB / 442.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002513/0.6145, allocations: 495.4 kB / 443.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007667/0.6153, allocations: 135.4 kB / 443.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.983e-06/0.6154, allocations: 3.938 kB / 443.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.3034/0.9187, allocations: 30.09 MB / 473.6 MB, free: 101.6 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)