Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_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.004997/0.004997, allocations: 100.8 kB / 15.73 MB, free: 6.496 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.001099/0.001099, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001159/0.001159, allocations: 54.48 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09248, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02968/0.1222, allocations: 29.57 MB / 402.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.1398, allocations: 7.437 MB / 410.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007419/0.1473, allocations: 219.3 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03026/0.1776, allocations: 13.21 MB / 423.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.1892, allocations: 3.069 MB / 426.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006147/0.1954, allocations: 1.906 MB / 428.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02319/0.2186, allocations: 18.93 MB / 447.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4628/0.6814, allocations: 44.61 MB / 492.1 MB, free: 15.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01958/0.7011, allocations: 10.32 MB / 0.4906 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01899/0.7201, allocations: 11.53 MB / 0.5019 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01747/0.7376, allocations: 3.789 MB / 0.5056 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/0.7502, allocations: 3.225 MB / 0.5088 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009912/0.7601, allocations: 5.759 MB / 0.5144 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02288/0.783, allocations: 11.22 MB / 0.5253 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05137/0.8345, allocations: 39.66 MB / 0.5641 GB, free: 4.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.8345, allocations: 0 / 0.5641 GB, free: 4.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.8345, allocations: 7.938 kB / 0.5641 GB, free: 4.391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001355/0.8359, allocations: 0 / 0.5641 GB, free: 4.391 MB / 462.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.07623/0.9121, allocations: 22.87 MB / 0.5864 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.9122, allocations: 15.89 kB / 0.5864 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06746/0.9797, allocations: 12.29 MB / 0.5984 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02277/1.002, allocations: 10.54 MB / 0.6087 GB, free: 7.281 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001999/1.005, allocations: 1.402 MB / 0.6101 GB, free: 5.895 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007436/1.012, allocations: 1.835 MB / 0.6119 GB, free: 4.074 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5247/1.537, allocations: 30.84 MB / 0.642 GB, free: 152.4 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009585/1.538, allocations: 18.62 kB / 0.642 GB, free: 152.4 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006273/1.544, allocations: 0.7584 MB / 0.6427 GB, free: 151.8 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001444/1.546, allocations: 0.9731 MB / 0.6437 GB, free: 151.7 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06454/1.61, allocations: 27.86 MB / 0.6709 GB, free: 139.8 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1625/1.773, allocations: 93.19 MB / 0.7619 GB, free: 55.55 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03294/1.806, allocations: 53.33 MB / 0.814 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01131/1.817, allocations: 5.987 MB / 0.8198 GB, free: 7.348 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03491/1.852, allocations: 16.58 MB / 0.836 GB, free: 6.438 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/1.852, allocations: 77.91 kB / 0.8361 GB, free: 6.352 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=427): time 6.723e-06/1.852, allocations: 0 / 0.8361 GB, free: 6.352 MB / 0.5452 GB Notification: Performance of matching and sorting (n=427): time 0.2585/2.111, allocations: 13.21 MB / 0.849 GB, free: 175.5 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/2.111, allocations: 121.5 kB / 0.8491 GB, free: 175.4 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/2.124, allocations: 7.491 MB / 0.8565 GB, free: 173.6 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0007412/2.124, allocations: 93.52 kB / 0.8565 GB, free: 173.5 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004177/2.128, allocations: 8.529 MB / 0.8649 GB, free: 167.5 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/2.13, allocations: 1.56 MB / 0.8664 GB, free: 166.3 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/2.133, allocations: 2.278 MB / 0.8686 GB, free: 165.2 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/2.133, allocations: 305.1 kB / 0.8689 GB, free: 164.9 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005578/2.139, allocations: 4.701 MB / 0.8735 GB, free: 163.2 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008269/2.147, allocations: 10.41 MB / 0.8837 GB, free: 153.8 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/2.163, allocations: 15.98 MB / 0.8993 GB, free: 141.4 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/2.163, allocations: 57.84 kB / 0.8993 GB, free: 141.4 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02514/2.188, allocations: 16 MB / 0.915 GB, free: 135 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/2.188, allocations: 94.14 kB / 0.915 GB, free: 135 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002948/2.189, allocations: 198.2 kB / 0.9152 GB, free: 135 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/2.193, allocations: 1.587 MB / 0.9168 GB, free: 134.7 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008648/2.202, allocations: 2.502 MB / 0.9192 GB, free: 134.4 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/2.217, allocations: 11.52 MB / 0.9305 GB, free: 125.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.227, allocations: 1.55 MB / 0.932 GB, free: 123.7 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002216/2.23, allocations: 0.6049 MB / 0.9326 GB, free: 123.1 MB / 0.5452 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.01316/2.243, allocations: 7.399 MB / 0.9398 GB, free: 116.3 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.244, allocations: 0.6209 MB / 0.9404 GB, free: 115.6 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/2.258, allocations: 8.089 MB / 0.9483 GB, free: 107.5 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008346/2.266, allocations: 6.48 MB / 0.9546 GB, free: 101 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/2.266, allocations: 13.64 kB / 0.9547 GB, free: 101 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/2.266, allocations: 23.91 kB / 0.9547 GB, free: 101 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04033/2.307, allocations: 20.74 MB / 0.9749 GB, free: 80.27 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/2.307, allocations: 128 / 0.9749 GB, free: 80.27 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/2.31, allocations: 0.7684 MB / 0.9757 GB, free: 79.5 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003971/2.314, allocations: 1.344 MB / 0.977 GB, free: 78.16 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006386/2.314, allocations: 92.86 kB / 0.9771 GB, free: 78.07 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/2.327, allocations: 11.14 MB / 0.988 GB, free: 66.8 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.327, allocations: 2 kB / 0.988 GB, free: 66.8 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/2.341, allocations: 11.71 MB / 0.9994 GB, free: 55.03 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003358/2.344, allocations: 1.312 MB / 1.001 GB, free: 53.69 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/2.346, allocations: 83.94 kB / 1.001 GB, free: 53.61 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/2.349, allocations: 299.6 kB / 1.001 GB, free: 53.32 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006708/2.35, allocations: 291.9 kB / 1.001 GB, free: 53.03 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/2.35, allocations: 130 kB / 1.001 GB, free: 52.91 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007818/2.358, allocations: 4.922 MB / 1.006 GB, free: 48 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3e-07/2.358, allocations: 0 / 1.006 GB, free: 48 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01389/2.372, allocations: 4.187 MB / 1.01 GB, free: 43.8 MB / 0.5452 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.001286/2.373, allocations: 270.8 kB / 1.011 GB, free: 43.54 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01701/2.39, allocations: 10.97 MB / 1.021 GB, free: 32.59 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/2.39, allocations: 2.625 kB / 1.021 GB, free: 32.59 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.006248/2.396, allocations: 3.944 MB / 1.025 GB, free: 28.64 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009932/2.406, allocations: 1.542 MB / 1.027 GB, free: 27.11 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/2.698, allocations: 29.67 MB / 1.056 GB, free: 156.3 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02175/2.72, allocations: 11.61 MB / 1.067 GB, free: 155.3 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0111/2.731, allocations: 3.98 MB / 1.071 GB, free: 155 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/2.733, allocations: 0.5008 MB / 1.071 GB, free: 154.9 MB / 0.5452 GB Notification: Performance of SimCode: time 7.61e-07/2.733, allocations: 0 / 1.071 GB, free: 154.9 MB / 0.5452 GB Notification: Performance of Templates: time 0.1553/2.889, allocations: 93.9 MB / 1.163 GB, free: 82.67 MB / 0.5452 GB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)