Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00119/0.00119, allocations: 94.77 kB / 16.3 MB, free: 5.996 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.00156/0.001561, allocations: 180.5 kB / 17.19 MB, free: 5.906 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.87/1.87, allocations: 205.4 MB / 223.3 MB, free: 5.555 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.0005087/0.0005088, allocations: 16 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3033, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007479/0.3109, allocations: 6.285 MB / 334 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.3168, allocations: 2.649 MB / 336.6 MB, free: 10.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.3181, allocations: 56.19 kB / 336.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.3192, allocations: 466.7 kB / 337.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.3212, allocations: 0.5944 MB / 337.7 MB, free: 9.457 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008403/0.322, allocations: 287.6 kB / 338 MB, free: 9.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.3252, allocations: 2.172 MB / 340.2 MB, free: 6.996 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.328, allocations: 2.356 MB / 342.6 MB, free: 4.605 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.3299, allocations: 1.121 MB / 343.7 MB, free: 3.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.332, allocations: 1.428 MB / 345.1 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003583/0.3323, allocations: 196 kB / 345.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008732/0.3332, allocations: 367.6 kB / 345.7 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008486/0.3341, allocations: 0.8803 MB / 346.5 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006749/0.3348, allocations: 0.6563 MB / 347.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.3392, allocations: 4.945 MB / 352.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3392, allocations: 0 / 352.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3392, allocations: 0 / 352.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.3394, allocations: 0 / 352.1 MB, free: 10.99 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.006902/0.3463, allocations: 3.19 MB / 355.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3463, allocations: 8.031 kB / 355.3 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3474, allocations: 383.8 kB / 355.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.3509, allocations: 1.897 MB / 357.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.3511, allocations: 221.8 kB / 357.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/0.3516, allocations: 292 kB / 358.1 MB, free: 4.895 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007235/0.3588, allocations: 4.14 MB / 362.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.3589, allocations: 0 / 362.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.3591, allocations: 120 kB / 362.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.3593, allocations: 141.9 kB / 362.5 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005624/0.3649, allocations: 3.482 MB / 366 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.3831, allocations: 10.99 MB / 377 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.3858, allocations: 2.654 MB / 379.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.3861, allocations: 122.3 kB / 379.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.3862, allocations: 47.55 kB / 379.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.108e-06/0.3862, allocations: 0 / 379.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.008902/0.3951, allocations: 5.557 MB / 385.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.3952, allocations: 90.42 kB / 385.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.3979, allocations: 1.898 MB / 387.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.398, allocations: 45.7 kB / 387.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.3991, allocations: 1.33 MB / 388.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.3995, allocations: 453.4 kB / 389.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.3996, allocations: 28 kB / 389.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3998, allocations: 369.9 kB / 389.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.401, allocations: 0.8275 MB / 390.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.4025, allocations: 1.19 MB / 391.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.4039, allocations: 1.029 MB / 392.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4039, allocations: 0 / 392.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004016/0.4079, allocations: 2.569 MB / 395.2 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.408, allocations: 8 kB / 395.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.408, allocations: 12 kB / 395.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.4098, allocations: 0.4926 MB / 395.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.411, allocations: 327.6 kB / 396 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.4161, allocations: 4.361 MB / 400.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4175, allocations: 87.92 kB / 400.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.4177, allocations: 63.98 kB / 400.5 MB, free: 9.523 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.001876/0.4196, allocations: 1.048 MB / 401.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.42, allocations: 189.7 kB / 401.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/0.4233, allocations: 2.188 MB / 403.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/0.4234, allocations: 19.98 kB / 403.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4234, allocations: 4 kB / 403.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4234, allocations: 3.984 kB / 404 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008217/0.4317, allocations: 5.157 MB / 409.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.4317, allocations: 3.984 kB / 409.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.4326, allocations: 223.8 kB / 409.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.4344, allocations: 472.3 kB / 409.8 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.4345, allocations: 35.98 kB / 409.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/0.4398, allocations: 4.304 MB / 414.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4398, allocations: 0 / 414.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/0.4449, allocations: 3.294 MB / 417.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.4462, allocations: 478.7 kB / 417.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.4465, allocations: 27.98 kB / 417.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/0.4474, allocations: 103.9 kB / 418 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.4476, allocations: 96.75 kB / 418.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/0.4477, allocations: 39.98 kB / 418.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00207/0.4498, allocations: 1.326 MB / 419.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4498, allocations: 0 / 419.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001838/0.4517, allocations: 0.5507 MB / 420 MB, free: 5.695 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.0004783/0.4522, allocations: 185.7 kB / 420.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00371/0.4559, allocations: 2.228 MB / 422.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4559, allocations: 4 kB / 422.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.4585, allocations: 1.225 MB / 423.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/0.4618, allocations: 477.3 kB / 424.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/0.4812, allocations: 6.741 MB / 430.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004531/0.4857, allocations: 2.482 MB / 433.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002848/0.4886, allocations: 483.5 kB / 433.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/0.4895, allocations: 131.4 kB / 434 MB, free: 7.648 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4895, allocations: 0 / 434 MB, free: 7.648 MB / 366.1 MB Notification: Performance of Templates: time 0.2688/0.7584, allocations: 27.97 MB / 461.9 MB, free: 110.4 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) Environment - environmentSimulation: