Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.00111/0.00111, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.382/1.382, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001832/0.001832, allocations: 47.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1015, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2418/0.3434, allocations: 29.56 MB / 404 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.3647, allocations: 7.43 MB / 411.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009288/0.3741, allocations: 220.7 kB / 411.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02979/0.4039, allocations: 13.17 MB / 424.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.417, allocations: 3.052 MB / 427.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007753/0.4248, allocations: 1.896 MB / 429.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02468/0.4495, allocations: 18.93 MB / 448.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0757/0.5253, allocations: 44.6 MB / 493.3 MB, free: 8.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01728/0.5426, allocations: 10.32 MB / 0.4919 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01876/0.5614, allocations: 11.53 MB / 0.5031 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007667/0.5691, allocations: 2.977 MB / 0.506 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.5799, allocations: 3.222 MB / 0.5092 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01017/0.5901, allocations: 5.768 MB / 0.5148 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02307/0.6132, allocations: 11.22 MB / 0.5258 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4575/1.071, allocations: 39.65 MB / 0.5645 GB, free: 85.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/1.071, allocations: 0 / 0.5645 GB, free: 85.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.34e-06/1.071, allocations: 1.031 kB / 0.5645 GB, free: 85.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001749/1.073, allocations: 2.016 kB / 0.5645 GB, free: 85.11 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0802/1.153, allocations: 22.88 MB / 0.5868 GB, free: 75.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.153, allocations: 11.39 kB / 0.5868 GB, free: 75.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06607/1.219, allocations: 12.29 MB / 0.5988 GB, free: 70.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/1.248, allocations: 10.55 MB / 0.6091 GB, free: 61.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001471/1.25, allocations: 1.402 MB / 0.6105 GB, free: 60.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01037/1.26, allocations: 1.822 MB / 0.6123 GB, free: 58.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08059/1.341, allocations: 30.85 MB / 0.6424 GB, free: 27.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009598/1.342, allocations: 19.81 kB / 0.6424 GB, free: 27.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008082/1.35, allocations: 0.7561 MB / 0.6432 GB, free: 26.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007973/1.351, allocations: 0.976 MB / 0.6441 GB, free: 25.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06001/1.411, allocations: 27.86 MB / 0.6713 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/1.579, allocations: 93.2 MB / 0.7624 GB, free: 172 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3019/1.881, allocations: 53.32 MB / 0.8144 GB, free: 159 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/1.892, allocations: 5.992 MB / 0.8203 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03633/1.928, allocations: 16.58 MB / 0.8365 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.493e-05/1.928, allocations: 81.28 kB / 0.8365 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 9.248e-06/1.928, allocations: 0 / 0.8365 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.03299/1.961, allocations: 13.21 MB / 0.8494 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.961, allocations: 128.3 kB / 0.8496 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/1.973, allocations: 7.485 MB / 0.8569 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008764/1.974, allocations: 97.7 kB / 0.857 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004582/1.978, allocations: 8.533 MB / 0.8653 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002319/1.981, allocations: 1.558 MB / 0.8668 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003679/1.984, allocations: 2.268 MB / 0.869 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/1.984, allocations: 305.1 kB / 0.8693 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006043/1.99, allocations: 4.705 MB / 0.8739 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009609/2, allocations: 10.41 MB / 0.8841 GB, free: 110 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/2.015, allocations: 15.98 MB / 0.8997 GB, free: 91.21 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/2.016, allocations: 56 kB / 0.8998 GB, free: 91.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02584/2.041, allocations: 16 MB / 0.9154 GB, free: 75.14 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/2.042, allocations: 88 kB / 0.9155 GB, free: 75.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002403/2.042, allocations: 203.9 kB / 0.9157 GB, free: 74.86 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/2.046, allocations: 1.583 MB / 0.9172 GB, free: 73.27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009122/2.055, allocations: 2.504 MB / 0.9197 GB, free: 70.76 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/2.069, allocations: 11.52 MB / 0.9309 GB, free: 59.11 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00999/2.079, allocations: 1.556 MB / 0.9324 GB, free: 57.54 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/2.081, allocations: 0.5976 MB / 0.933 GB, free: 56.95 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01233/2.093, allocations: 7.402 MB / 0.9402 GB, free: 49.52 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/2.095, allocations: 0.6287 MB / 0.9408 GB, free: 48.89 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/2.107, allocations: 8.084 MB / 0.9487 GB, free: 40.77 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008571/2.115, allocations: 6.48 MB / 0.9551 GB, free: 34.27 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/2.115, allocations: 20 kB / 0.9551 GB, free: 34.25 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/2.115, allocations: 21.34 kB / 0.9551 GB, free: 34.23 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04344/2.159, allocations: 20.73 MB / 0.9754 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/2.159, allocations: 0 / 0.9754 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/2.162, allocations: 0.7684 MB / 0.9761 GB, free: 12.73 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004113/2.166, allocations: 1.337 MB / 0.9774 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000803/2.167, allocations: 91.97 kB / 0.9775 GB, free: 11.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/2.18, allocations: 11.15 MB / 0.9884 GB, free: 12 kB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/2.18, allocations: 3.938 kB / 0.9884 GB, free: 8 kB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2871/2.467, allocations: 11.7 MB / 0.9998 GB, free: 186.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004833/2.472, allocations: 1.31 MB / 1.001 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0021/2.474, allocations: 78.36 kB / 1.001 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004437/2.479, allocations: 300.6 kB / 1.001 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009443/2.48, allocations: 295.5 kB / 1.002 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/2.48, allocations: 120.2 kB / 1.002 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0103/2.491, allocations: 4.929 MB / 1.007 GB, free: 184.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.41e-07/2.491, allocations: 2.344 kB / 1.007 GB, free: 184.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01387/2.504, allocations: 4.186 MB / 1.011 GB, free: 183.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/2.506, allocations: 268.5 kB / 1.011 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0152/2.521, allocations: 10.97 MB / 1.022 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.521, allocations: 2.406 kB / 1.022 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005519/2.527, allocations: 3.941 MB / 1.026 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009236/2.536, allocations: 1.545 MB / 1.027 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05045/2.586, allocations: 29.69 MB / 1.056 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01576/2.602, allocations: 11.6 MB / 1.067 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009393/2.612, allocations: 3.982 MB / 1.071 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/2.613, allocations: 0.4984 MB / 1.072 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.133e-06/2.613, allocations: 0 / 1.072 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1423/2.756, allocations: 93.11 MB / 1.163 GB, free: 52.86 MB / 0.5607 GB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)