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.001576/0.001576, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.606/1.606, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001607/0.001607, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2632, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009559/0.2728, allocations: 7.714 MB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.2784, allocations: 2.729 MB / 335.8 MB, free: 9.445 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.2799, allocations: 59.62 kB / 335.8 MB, free: 9.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2813, allocations: 0.56 MB / 336.4 MB, free: 8.824 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.2839, allocations: 0.7341 MB / 337.1 MB, free: 8.086 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.2851, allocations: 443.4 kB / 337.5 MB, free: 7.652 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.2892, allocations: 3.378 MB / 340.9 MB, free: 4.258 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.2932, allocations: 3.434 MB / 344.4 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.2964, allocations: 1.653 MB / 346 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.2995, allocations: 2.024 MB / 348 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008134/0.3003, allocations: 460 kB / 348.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3018, allocations: 0.6637 MB / 349.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.3031, allocations: 1.247 MB / 350.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.3059, allocations: 1.964 MB / 352.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.3131, allocations: 6.045 MB / 358.4 MB, free: 2.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.3132, allocations: 0 / 358.4 MB, free: 2.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3132, allocations: 0 / 358.4 MB, free: 2.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002783/0.3135, allocations: 0 / 358.4 MB, free: 2.684 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.01084/0.3243, allocations: 3.775 MB / 362.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3244, allocations: 12.03 kB / 362.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3255, allocations: 396.6 kB / 362.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/0.3292, allocations: 1.948 MB / 364.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.3294, allocations: 221.8 kB / 364.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/0.3298, allocations: 288 kB / 365 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00771/0.3376, allocations: 4.183 MB / 369.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/0.3376, allocations: 7.875 kB / 369.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.3379, allocations: 124 kB / 369.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.3381, allocations: 141.9 kB / 369.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.3443, allocations: 3.486 MB / 373 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.365, allocations: 10.93 MB / 383.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.368, allocations: 2.654 MB / 386.5 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.3704, allocations: 1.477 MB / 388 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.3707, allocations: 122.1 kB / 388.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3707, allocations: 47.56 kB / 388.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.967e-06/0.3708, allocations: 0 / 388.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009882/0.3806, allocations: 5.286 MB / 393.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.3807, allocations: 90.42 kB / 393.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.3836, allocations: 1.913 MB / 395.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.3837, allocations: 45.7 kB / 395.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/0.3847, allocations: 1.318 MB / 396.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/0.3852, allocations: 461.3 kB / 397.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.3856, allocations: 267.4 kB / 397.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3857, allocations: 309.1 kB / 397.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.3871, allocations: 0.8198 MB / 398.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3887, allocations: 1.179 MB / 399.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.3916, allocations: 2.095 MB / 401.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.3916, allocations: 8 kB / 402 MB, free: 6.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004694/0.3963, allocations: 2.519 MB / 404.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.3964, allocations: 12 kB / 404.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.3964, allocations: 12.19 kB / 404.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.398, allocations: 426.3 kB / 404.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.3994, allocations: 335.5 kB / 405.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/0.4052, allocations: 4.415 MB / 409.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.407, allocations: 87.97 kB / 409.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.4071, allocations: 60 kB / 409.8 MB, free: 14.07 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.002101/0.4093, allocations: 1.048 MB / 410.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/0.4099, allocations: 193.7 kB / 411 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.4136, allocations: 2.137 MB / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/0.4136, allocations: 19.98 kB / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4137, allocations: 4 kB / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4137, allocations: 3.984 kB / 413.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009047/0.4227, allocations: 5.198 MB / 418.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.4228, allocations: 4 kB / 418.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4238, allocations: 227.6 kB / 418.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.4252, allocations: 405.3 kB / 419 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.4253, allocations: 39.98 kB / 419.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.4309, allocations: 4.295 MB / 423.4 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4309, allocations: 7.938 kB / 423.4 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/0.4364, allocations: 3.249 MB / 426.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.4376, allocations: 458.8 kB / 427.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/0.4379, allocations: 28 kB / 427.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.439, allocations: 95.95 kB / 427.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.4393, allocations: 100.7 kB / 427.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.4394, allocations: 40 kB / 427.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.4415, allocations: 1.338 MB / 428.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4415, allocations: 4 kB / 428.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002001/0.4435, allocations: 0.5547 MB / 429.2 MB, free: 10.33 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.0007041/0.4442, allocations: 214.8 kB / 429.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.4497, allocations: 2.864 MB / 432.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.4497, allocations: 0 / 432.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.4519, allocations: 1.226 MB / 433.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.4548, allocations: 0.506 MB / 434 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.4651, allocations: 5.774 MB / 439.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.4675, allocations: 2.423 MB / 442.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001631/0.4691, allocations: 499.3 kB / 442.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.4696, allocations: 139.4 kB / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4696, allocations: 0 / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Templates: time 0.2459/0.7154, allocations: 30.2 MB / 473 MB, free: 102 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)