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.01209/0.01209, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.00155/0.001551, allocations: 197 kB / 16.68 MB, free: 5.98 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.945/1.945, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.001149/0.001149, allocations: 58.81 kB / 326.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 46.62 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009384/0.12, allocations: 7.721 MB / 380.9 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00545/0.1255, allocations: 2.73 MB / 383.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008398/0.1264, allocations: 63.62 kB / 383.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.1277, allocations: 0.582 MB / 384.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.1296, allocations: 0.7575 MB / 385 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.1305, allocations: 435.4 kB / 385.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.1339, allocations: 3.401 MB / 388.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.1377, allocations: 3.434 MB / 392.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.1411, allocations: 1.671 MB / 394 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.1442, allocations: 2.02 MB / 396 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.1448, allocations: 460 kB / 396.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.1464, allocations: 0.6714 MB / 397.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.1477, allocations: 1.239 MB / 398.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.1503, allocations: 1.964 MB / 400.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.1574, allocations: 6.095 MB / 406.4 MB, free: 28 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1575, allocations: 0 / 406.4 MB, free: 28 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1575, allocations: 0 / 406.4 MB, free: 28 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001412/0.1576, allocations: 0 / 406.4 MB, free: 28 kB / 334.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.009064/0.1667, allocations: 3.783 MB / 410.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1668, allocations: 12.03 kB / 410.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1679, allocations: 388.7 kB / 410.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.1711, allocations: 1.96 MB / 412.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.1713, allocations: 237.7 kB / 412.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004214/0.1717, allocations: 280 kB / 413 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007719/0.1795, allocations: 4.179 MB / 417.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.1796, allocations: 4 kB / 417.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.1798, allocations: 116 kB / 417.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.18, allocations: 141.9 kB / 417.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/0.1862, allocations: 3.482 MB / 421 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.2049, allocations: 10.78 MB / 431.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.208, allocations: 2.646 MB / 434.4 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.2105, allocations: 1.497 MB / 435.9 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.2108, allocations: 126.1 kB / 436 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.2108, allocations: 43.56 kB / 436 MB, free: 1.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.449e-06/0.2109, allocations: 0 / 436 MB, free: 1.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01041/0.2213, allocations: 5.274 MB / 441.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.2214, allocations: 98.42 kB / 441.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.2251, allocations: 1.906 MB / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.2252, allocations: 61.69 kB / 443.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.2263, allocations: 1.318 MB / 444.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/0.2267, allocations: 453.4 kB / 445.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.2272, allocations: 275.3 kB / 445.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2273, allocations: 313 kB / 445.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.2287, allocations: 0.812 MB / 446.5 MB, free: 7.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2302, allocations: 1.199 MB / 447.7 MB, free: 5.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.2333, allocations: 2.079 MB / 449.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.2333, allocations: 4 kB / 449.8 MB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004457/0.2377, allocations: 2.527 MB / 452.3 MB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2378, allocations: 8 kB / 452.3 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.2378, allocations: 12 kB / 452.4 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.2393, allocations: 434.4 kB / 452.8 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.2407, allocations: 323.5 kB / 453.1 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3172/0.5579, allocations: 4.405 MB / 457.5 MB, free: 66.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.5602, allocations: 87.34 kB / 457.6 MB, free: 66.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.5605, allocations: 62.31 kB / 457.6 MB, free: 66.2 MB / 382.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.002945/0.5634, allocations: 1.045 MB / 458.7 MB, free: 65.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007835/0.5642, allocations: 192.7 kB / 458.9 MB, free: 65.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.5685, allocations: 2.144 MB / 461 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.5686, allocations: 21.52 kB / 461 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5686, allocations: 8.906 kB / 461.1 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.5686, allocations: 7.062 kB / 461.1 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009686/0.5783, allocations: 5.178 MB / 466.2 MB, free: 62.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5784, allocations: 1.344 kB / 466.2 MB, free: 62.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5794, allocations: 224.7 kB / 466.5 MB, free: 62.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.5807, allocations: 394.5 kB / 466.8 MB, free: 62.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.342e-05/0.5808, allocations: 34.59 kB / 466.9 MB, free: 62.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/0.5857, allocations: 4.294 MB / 471.2 MB, free: 59.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5857, allocations: 6.531 kB / 471.2 MB, free: 59.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.5904, allocations: 3.254 MB / 474.4 MB, free: 58.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.5916, allocations: 459.8 kB / 474.9 MB, free: 58.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.592, allocations: 35.41 kB / 474.9 MB, free: 58.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.5937, allocations: 91.23 kB / 475 MB, free: 58.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.594, allocations: 99.86 kB / 475.1 MB, free: 58.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.5942, allocations: 43.42 kB / 475.1 MB, free: 58.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003313/0.5975, allocations: 1.335 MB / 476.5 MB, free: 57.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5975, allocations: 0 / 476.5 MB, free: 57.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003216/0.6007, allocations: 0.5553 MB / 477 MB, free: 57.37 MB / 382.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.0008131/0.6016, allocations: 224 kB / 477.3 MB, free: 57.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004743/0.6063, allocations: 2.193 MB / 479.4 MB, free: 56.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.6063, allocations: 0.9375 kB / 479.5 MB, free: 56.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.6089, allocations: 1.222 MB / 480.7 MB, free: 55.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/0.6122, allocations: 0.513 MB / 481.2 MB, free: 54.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.6253, allocations: 5.705 MB / 486.9 MB, free: 49.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/0.6279, allocations: 2.424 MB / 489.3 MB, free: 46.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002498/0.6304, allocations: 494 kB / 489.8 MB, free: 46.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/0.6314, allocations: 136.9 kB / 489.9 MB, free: 46 MB / 382.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6314, allocations: 0 / 489.9 MB, free: 46 MB / 382.1 MB Notification: Performance of Templates: time 0.06332/0.6947, allocations: 30.73 MB / 0.5085 GB, free: 15.23 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)