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.005387/0.005388, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001306/0.001306, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001356/0.001356, allocations: 55.92 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2483/0.353, allocations: 29.56 MB / 402.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01968/0.3727, allocations: 7.431 MB / 410.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008149/0.3809, allocations: 219.8 kB / 410.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0295/0.4105, allocations: 13.21 MB / 423.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.4231, allocations: 3.069 MB / 426.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007407/0.4305, allocations: 1.908 MB / 428.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02476/0.4553, allocations: 18.92 MB / 447.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07268/0.528, allocations: 44.61 MB / 492.1 MB, free: 8.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01486/0.5429, allocations: 10.31 MB / 0.4906 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01738/0.5604, allocations: 11.53 MB / 0.5019 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008497/0.5689, allocations: 2.981 MB / 0.5048 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.5803, allocations: 3.222 MB / 0.508 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01054/0.5908, allocations: 5.76 MB / 0.5136 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02558/0.6165, allocations: 11.22 MB / 0.5245 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4526/1.069, allocations: 39.66 MB / 0.5633 GB, free: 85.13 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/1.069, allocations: 1 kB / 0.5633 GB, free: 85.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/1.069, allocations: 0 / 0.5633 GB, free: 85.13 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001119/1.07, allocations: 3.891 kB / 0.5633 GB, free: 85.13 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.07708/1.147, allocations: 22.88 MB / 0.5856 GB, free: 76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.147, allocations: 11.52 kB / 0.5856 GB, free: 76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06526/1.213, allocations: 12.28 MB / 0.5976 GB, free: 70.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02642/1.239, allocations: 10.55 MB / 0.6079 GB, free: 61.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00131/1.241, allocations: 1.399 MB / 0.6093 GB, free: 60.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009939/1.25, allocations: 1.829 MB / 0.6111 GB, free: 58.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08223/1.333, allocations: 30.85 MB / 0.6412 GB, free: 27.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006329/1.333, allocations: 19.8 kB / 0.6412 GB, free: 27.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008571/1.342, allocations: 0.7614 MB / 0.642 GB, free: 26.88 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007341/1.343, allocations: 0.9607 MB / 0.6429 GB, free: 25.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06138/1.404, allocations: 27.87 MB / 0.6701 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1724/1.577, allocations: 93.2 MB / 0.7611 GB, free: 224 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2761/1.853, allocations: 53.33 MB / 0.8132 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009556/1.862, allocations: 5.989 MB / 0.8191 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02927/1.892, allocations: 16.58 MB / 0.8353 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/1.892, allocations: 76.62 kB / 0.8353 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 6.612e-06/1.892, allocations: 3.781 kB / 0.8353 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02953/1.921, allocations: 13.21 MB / 0.8482 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.921, allocations: 124.5 kB / 0.8484 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.932, allocations: 7.49 MB / 0.8557 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007601/1.933, allocations: 93.7 kB / 0.8558 GB, free: 138 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004247/1.937, allocations: 8.529 MB / 0.8641 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/1.939, allocations: 1.561 MB / 0.8656 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00315/1.942, allocations: 2.275 MB / 0.8678 GB, free: 127 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/1.942, allocations: 305.1 kB / 0.8681 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005794/1.948, allocations: 4.701 MB / 0.8727 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007621/1.955, allocations: 10.4 MB / 0.8829 GB, free: 110 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.97, allocations: 15.99 MB / 0.8985 GB, free: 91.24 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.97, allocations: 56 kB / 0.8985 GB, free: 91.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02634/1.996, allocations: 16 MB / 0.9142 GB, free: 75.17 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.997, allocations: 92 kB / 0.9142 GB, free: 75.08 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/1.997, allocations: 199.9 kB / 0.9144 GB, free: 74.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004345/2.001, allocations: 1.587 MB / 0.916 GB, free: 73.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008136/2.009, allocations: 2.503 MB / 0.9184 GB, free: 70.78 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/2.023, allocations: 11.52 MB / 0.9297 GB, free: 59.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/2.033, allocations: 1.552 MB / 0.9312 GB, free: 57.56 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.035, allocations: 0.6015 MB / 0.9318 GB, free: 56.96 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.01155/2.046, allocations: 7.394 MB / 0.939 GB, free: 49.55 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/2.048, allocations: 0.6326 MB / 0.9396 GB, free: 48.91 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/2.059, allocations: 8.084 MB / 0.9475 GB, free: 40.79 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007965/2.067, allocations: 6.48 MB / 0.9539 GB, free: 34.29 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/2.067, allocations: 16 kB / 0.9539 GB, free: 34.27 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/2.067, allocations: 19.92 kB / 0.9539 GB, free: 34.25 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0392/2.106, allocations: 20.73 MB / 0.9741 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/2.106, allocations: 6.5 kB / 0.9741 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/2.109, allocations: 0.7684 MB / 0.9749 GB, free: 12.76 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004057/2.113, allocations: 1.341 MB / 0.9762 GB, free: 11.42 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006766/2.114, allocations: 91.97 kB / 0.9763 GB, free: 11.33 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/2.126, allocations: 11.15 MB / 0.9872 GB, free: 44 kB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.126, allocations: 3.938 kB / 0.9872 GB, free: 40 kB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2609/2.387, allocations: 11.7 MB / 0.9986 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003424/2.39, allocations: 1.312 MB / 0.9999 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001667/2.392, allocations: 79.8 kB / 1 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/2.396, allocations: 303.1 kB / 1 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/2.396, allocations: 298.5 kB / 1.001 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/2.397, allocations: 122.4 kB / 1.001 GB, free: 186.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009186/2.406, allocations: 4.926 MB / 1.005 GB, free: 184.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.61e-07/2.406, allocations: 0 / 1.005 GB, free: 184.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01538/2.421, allocations: 4.184 MB / 1.01 GB, free: 183.3 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.001535/2.423, allocations: 267.5 kB / 1.01 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01735/2.44, allocations: 10.98 MB / 1.021 GB, free: 179 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.44, allocations: 4.859 kB / 1.021 GB, free: 179 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005587/2.446, allocations: 3.936 MB / 1.024 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008485/2.454, allocations: 1.546 MB / 1.026 GB, free: 176.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05451/2.509, allocations: 29.67 MB / 1.055 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01691/2.526, allocations: 11.6 MB / 1.066 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009466/2.535, allocations: 3.979 MB / 1.07 GB, free: 143.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/2.537, allocations: 0.5024 MB / 1.071 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of SimCode: time 8.51e-07/2.537, allocations: 0 / 1.071 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1418/2.679, allocations: 93.92 MB / 1.162 GB, free: 51.9 MB / 0.5607 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)