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.00103/0.00103, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001137/0.001137, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004556/0.0004556, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2688, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007537/0.2764, allocations: 6.296 MB / 332.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.2824, allocations: 2.645 MB / 335.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.2839, allocations: 50.91 kB / 335.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2853, allocations: 475.7 kB / 335.9 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.2873, allocations: 0.5909 MB / 336.5 MB, free: 9.434 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.2881, allocations: 283.6 kB / 336.8 MB, free: 9.156 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.2908, allocations: 2.172 MB / 338.9 MB, free: 6.977 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.2933, allocations: 2.368 MB / 341.3 MB, free: 4.574 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.2949, allocations: 1.113 MB / 342.4 MB, free: 3.457 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.2967, allocations: 1.432 MB / 343.9 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.297, allocations: 196 kB / 344 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007522/0.2978, allocations: 367.6 kB / 344.4 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007853/0.2986, allocations: 0.8764 MB / 345.3 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006329/0.2992, allocations: 0.6563 MB / 345.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.3033, allocations: 4.945 MB / 350.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3033, allocations: 0 / 350.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3033, allocations: 4 kB / 350.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.3034, allocations: 0 / 350.9 MB, free: 10.96 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.00644/0.3099, allocations: 3.186 MB / 354.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3099, allocations: 8.031 kB / 354.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.3109, allocations: 391.8 kB / 354.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.3142, allocations: 1.893 MB / 356.4 MB, free: 5.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3143, allocations: 221.8 kB / 356.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.3147, allocations: 284 kB / 356.9 MB, free: 4.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006171/0.3209, allocations: 4.152 MB / 361 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.321, allocations: 0 / 361 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.3212, allocations: 116 kB / 361.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.3214, allocations: 141.9 kB / 361.3 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005678/0.3271, allocations: 3.482 MB / 364.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.3464, allocations: 10.99 MB / 375.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.3494, allocations: 2.654 MB / 378.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.3496, allocations: 126.3 kB / 378.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.3497, allocations: 47.56 kB / 378.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.528e-06/0.3497, allocations: 0 / 378.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.009637/0.3594, allocations: 5.553 MB / 384.1 MB, free: 9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.3595, allocations: 90.42 kB / 384.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.3623, allocations: 1.898 MB / 386.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3624, allocations: 45.7 kB / 386.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009925/0.3634, allocations: 1.326 MB / 387.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.3638, allocations: 453.4 kB / 387.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.3639, allocations: 28 kB / 387.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3641, allocations: 373.9 kB / 388.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.3653, allocations: 0.8315 MB / 389.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.3668, allocations: 1.182 MB / 390.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.3683, allocations: 1.029 MB / 391.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3683, allocations: 4 kB / 391.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004094/0.3724, allocations: 2.565 MB / 393.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3725, allocations: 8 kB / 393.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3725, allocations: 12.19 kB / 393.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.3744, allocations: 0.4886 MB / 394.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3757, allocations: 327.5 kB / 394.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/0.3809, allocations: 4.358 MB / 399.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.3823, allocations: 95.86 kB / 399.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.3824, allocations: 63.98 kB / 399.3 MB, free: 9.496 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (154): * Single equations (assignments): 149 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001928/0.3844, allocations: 1.048 MB / 400.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.3848, allocations: 189.7 kB / 400.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.3882, allocations: 2.188 MB / 402.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/0.3882, allocations: 16 kB / 402.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3882, allocations: 4 kB / 402.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3883, allocations: 3.984 kB / 402.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008224/0.3965, allocations: 5.157 MB / 407.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3965, allocations: 4.062 kB / 407.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/0.3975, allocations: 227.6 kB / 408.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.3993, allocations: 476.3 kB / 408.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/0.3994, allocations: 27.98 kB / 408.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/0.4045, allocations: 4.304 MB / 412.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4045, allocations: 0 / 412.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.4095, allocations: 3.305 MB / 416.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.4107, allocations: 466.7 kB / 416.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.4109, allocations: 23.98 kB / 416.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/0.4119, allocations: 112 kB / 416.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.4121, allocations: 88.81 kB / 416.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.4122, allocations: 39.98 kB / 416.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.4143, allocations: 1.326 MB / 418.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4143, allocations: 4 kB / 418.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001829/0.4161, allocations: 0.5546 MB / 418.8 MB, free: 5.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (98): * Single equations (assignments): 93 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005312/0.4167, allocations: 194.1 kB / 419 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.4202, allocations: 2.217 MB / 421.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4203, allocations: 4 kB / 421.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.4221, allocations: 1.229 MB / 422.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.4242, allocations: 469.4 kB / 422.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.4354, allocations: 6.745 MB / 429.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.4377, allocations: 2.482 MB / 432.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001559/0.4393, allocations: 487.4 kB / 432.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.4396, allocations: 131.4 kB / 432.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4396, allocations: 0 / 432.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of Templates: time 0.2463/0.686, allocations: 27.97 MB / 460.7 MB, free: 109.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: