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.001513/0.001513, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00163/0.00163, allocations: 188 kB / 16.25 MB, free: 6.625 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.115/2.115, allocations: 205.1 MB / 222.1 MB, free: 4.617 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.0013/0.0013, allocations: 43.94 kB / 278.2 MB, free: 12.54 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2572, allocations: 46.62 MB / 324.8 MB, free: 2.062 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.011/0.2682, allocations: 7.677 MB / 332.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008092/0.2764, allocations: 2.688 MB / 335.2 MB, free: 9.699 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003349/0.2799, allocations: 51.69 kB / 335.3 MB, free: 9.648 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.2823, allocations: 490.6 kB / 335.7 MB, free: 9.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.2865, allocations: 0.6724 MB / 336.4 MB, free: 8.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.2882, allocations: 391.6 kB / 336.8 MB, free: 8.109 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005139/0.2933, allocations: 3.394 MB / 340.2 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005462/0.2988, allocations: 3.43 MB / 343.6 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.3031, allocations: 1.656 MB / 345.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/0.3071, allocations: 2.067 MB / 347.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.3086, allocations: 460 kB / 347.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.3109, allocations: 0.6675 MB / 348.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.313, allocations: 1.251 MB / 349.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004697/0.3177, allocations: 1.968 MB / 351.7 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009303/0.327, allocations: 6.041 MB / 357.7 MB, free: 3.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3271, allocations: 0 / 357.7 MB, free: 3.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3271, allocations: 0 / 357.7 MB, free: 3.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002626/0.3274, allocations: 4 kB / 357.7 MB, free: 3.07 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.01316/0.3406, allocations: 3.767 MB / 361.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.3406, allocations: 11.97 kB / 361.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.3418, allocations: 400.6 kB / 361.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.3458, allocations: 1.948 MB / 363.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.346, allocations: 221.8 kB / 364.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.3465, allocations: 284 kB / 364.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008814/0.3553, allocations: 4.195 MB / 368.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.3554, allocations: 0 / 368.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.3557, allocations: 119.9 kB / 368.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.3559, allocations: 141.9 kB / 368.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006666/0.3626, allocations: 3.486 MB / 372.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/0.3839, allocations: 10.93 MB / 383.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.3871, allocations: 2.65 MB / 385.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/0.3894, allocations: 1.485 MB / 387.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.3897, allocations: 122.1 kB / 387.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3897, allocations: 51.56 kB / 387.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.379e-06/0.3898, allocations: 0 / 387.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01045/0.4002, allocations: 5.286 MB / 392.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.4004, allocations: 90.42 kB / 392.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.4038, allocations: 1.913 MB / 394.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.404, allocations: 45.7 kB / 394.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.405, allocations: 1.318 MB / 396.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/0.4055, allocations: 461.3 kB / 396.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.406, allocations: 271.4 kB / 396.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4062, allocations: 305.1 kB / 397.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4074, allocations: 0.8198 MB / 398 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.4089, allocations: 1.179 MB / 399.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.412, allocations: 2.091 MB / 401.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4121, allocations: 8 kB / 401.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004999/0.4171, allocations: 2.527 MB / 403.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.4171, allocations: 8 kB / 403.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.4172, allocations: 15.98 kB / 403.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.4193, allocations: 490.4 kB / 404.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.4208, allocations: 335.5 kB / 404.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/0.4273, allocations: 4.415 MB / 409 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.4295, allocations: 79.98 kB / 409.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.4297, allocations: 63.98 kB / 409.2 MB, free: 14.4 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.003123/0.4328, allocations: 1.044 MB / 410.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009554/0.4338, allocations: 193.7 kB / 410.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.4378, allocations: 2.137 MB / 412.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.405e-05/0.4379, allocations: 16 kB / 412.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4379, allocations: 4 kB / 412.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4379, allocations: 7.969 kB / 412.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.4482, allocations: 5.191 MB / 417.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.4483, allocations: 4.031 kB / 417.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.4494, allocations: 227.6 kB / 418 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.4514, allocations: 472.5 kB / 418.5 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4515, allocations: 35.97 kB / 418.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005943/0.4575, allocations: 4.295 MB / 422.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4575, allocations: 4 kB / 422.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.4636, allocations: 3.249 MB / 426 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/0.4651, allocations: 454.8 kB / 426.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.4653, allocations: 31.98 kB / 426.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.4664, allocations: 95.97 kB / 426.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.4667, allocations: 104.7 kB / 426.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.4668, allocations: 39.98 kB / 426.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002158/0.469, allocations: 1.342 MB / 428.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 428.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00224/0.4713, allocations: 0.5547 MB / 428.7 MB, free: 10.61 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.0007687/0.472, allocations: 211.9 kB / 428.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005527/0.4776, allocations: 2.864 MB / 431.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4776, allocations: 0 / 431.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.4797, allocations: 1.227 MB / 432.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.4825, allocations: 0.505 MB / 433.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.4949, allocations: 7.052 MB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.4973, allocations: 2.423 MB / 442.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001757/0.4991, allocations: 495.4 kB / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.4995, allocations: 139.4 kB / 443.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4996, allocations: 0 / 443.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of Templates: time 0.2906/0.7902, allocations: 30.09 MB / 473.6 MB, free: 101.6 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)