Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.358/1.358, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001444/0.001444, allocations: 59.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2035, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02966/0.2332, allocations: 29.56 MB / 354.9 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.2495, allocations: 7.423 MB / 362.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007015/0.2566, allocations: 219.3 kB / 362.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02936/0.2859, allocations: 13.17 MB / 375.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.2985, allocations: 3.034 MB / 378.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.3053, allocations: 1.895 MB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02371/0.329, allocations: 18.79 MB / 399.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07673/0.4058, allocations: 44.79 MB / 444.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/0.423, allocations: 10.27 MB / 454.5 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3689/0.7919, allocations: 11.55 MB / 466 MB, free: 48.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01011/0.8021, allocations: 2.973 MB / 469 MB, free: 48.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/0.8148, allocations: 3.224 MB / 472.2 MB, free: 48.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01033/0.8252, allocations: 5.769 MB / 478 MB, free: 48.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02054/0.8458, allocations: 11.22 MB / 489.2 MB, free: 40.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03406/0.8799, allocations: 39.43 MB / 0.5162 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8799, allocations: 0.6562 kB / 0.5162 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.8799, allocations: 0 / 0.5162 GB, free: 14.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001148/0.8811, allocations: 0.7812 kB / 0.5162 GB, free: 14.07 MB / 382.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.06459/0.9457, allocations: 22.88 MB / 0.5386 GB, free: 7.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.9457, allocations: 15.89 kB / 0.5386 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06778/1.014, allocations: 12.28 MB / 0.5506 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0228/1.036, allocations: 10.54 MB / 0.5609 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001346/1.038, allocations: 1.405 MB / 0.5622 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006657/1.044, allocations: 1.832 MB / 0.564 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07697/1.121, allocations: 30.84 MB / 0.5942 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000666/1.122, allocations: 17.72 kB / 0.5942 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006106/1.128, allocations: 0.7647 MB / 0.5949 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/1.129, allocations: 0.9685 MB / 0.5959 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2666/1.396, allocations: 27.87 MB / 0.6231 GB, free: 138.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1843/1.58, allocations: 94.34 MB / 0.7152 GB, free: 61.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03135/1.612, allocations: 53.34 MB / 0.7673 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009756/1.622, allocations: 5.841 MB / 0.773 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2129/1.834, allocations: 16.61 MB / 0.7892 GB, free: 143.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.835, allocations: 78.25 kB / 0.7893 GB, free: 143 MB / 478.1 MB Notification: Performance of pre-optimization done (n=427): time 7.014e-06/1.835, allocations: 0 / 0.7893 GB, free: 143 MB / 478.1 MB Notification: Performance of matching and sorting (n=427): time 0.03/1.865, allocations: 13.23 MB / 0.8022 GB, free: 141.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/1.865, allocations: 119.5 kB / 0.8023 GB, free: 141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/1.877, allocations: 7.48 MB / 0.8096 GB, free: 138.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007222/1.877, allocations: 95.86 kB / 0.8097 GB, free: 138.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004074/1.881, allocations: 8.531 MB / 0.8181 GB, free: 132.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.883, allocations: 1.563 MB / 0.8196 GB, free: 131.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005661/1.889, allocations: 2.268 MB / 0.8218 GB, free: 130.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/1.889, allocations: 306.8 kB / 0.8221 GB, free: 129.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006899/1.896, allocations: 4.711 MB / 0.8267 GB, free: 128.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009799/1.906, allocations: 10.4 MB / 0.8368 GB, free: 118.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.922, allocations: 15.98 MB / 0.8525 GB, free: 106.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000195/1.922, allocations: 57.31 kB / 0.8525 GB, free: 106.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02874/1.951, allocations: 16 MB / 0.8681 GB, free: 95.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002687/1.951, allocations: 92.19 kB / 0.8682 GB, free: 95.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004075/1.951, allocations: 200 kB / 0.8684 GB, free: 94.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004667/1.956, allocations: 1.593 MB / 0.87 GB, free: 93.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008069/1.964, allocations: 2.505 MB / 0.8724 GB, free: 91.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.977, allocations: 11.54 MB / 0.8837 GB, free: 80.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009525/1.987, allocations: 1.548 MB / 0.8852 GB, free: 79.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002617/1.99, allocations: 0.6015 MB / 0.8858 GB, free: 78.78 MB / 478.1 MB 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.01224/2.002, allocations: 7.402 MB / 0.893 GB, free: 71.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.003, allocations: 0.6248 MB / 0.8936 GB, free: 70.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/2.017, allocations: 8.088 MB / 0.9015 GB, free: 62.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008421/2.025, allocations: 6.486 MB / 0.9079 GB, free: 56.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/2.025, allocations: 15.98 kB / 0.9079 GB, free: 56.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-05/2.025, allocations: 19.92 kB / 0.9079 GB, free: 56.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/2.064, allocations: 20.79 MB / 0.9282 GB, free: 35.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/2.064, allocations: 4.125 kB / 0.9282 GB, free: 35.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/2.067, allocations: 0.7723 MB / 0.9289 GB, free: 34.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/2.072, allocations: 1.344 MB / 0.9303 GB, free: 33.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006001/2.072, allocations: 91.97 kB / 0.9303 GB, free: 33.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/2.084, allocations: 11.15 MB / 0.9412 GB, free: 21.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/2.084, allocations: 3.938 kB / 0.9412 GB, free: 21.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/2.102, allocations: 11.7 MB / 0.9527 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/2.105, allocations: 1.312 MB / 0.9539 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/2.107, allocations: 83.92 kB / 0.954 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/2.111, allocations: 303.7 kB / 0.9543 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007418/2.112, allocations: 295.8 kB / 0.9546 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003439/2.112, allocations: 124 kB / 0.9547 GB, free: 7.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.2097/2.322, allocations: 4.922 MB / 0.9595 GB, free: 129.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.61e-07/2.322, allocations: 0 / 0.9595 GB, free: 129.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01356/2.335, allocations: 4.186 MB / 0.9636 GB, free: 129.1 MB / 478.1 MB 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.001079/2.336, allocations: 277.8 kB / 0.9639 GB, free: 129 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03728/2.374, allocations: 19.99 MB / 0.9834 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.374, allocations: 0 / 0.9834 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006397/2.38, allocations: 3.947 MB / 0.9873 GB, free: 125.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008705/2.389, allocations: 1.539 MB / 0.9888 GB, free: 125.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05188/2.441, allocations: 30.04 MB / 1.018 GB, free: 106.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01819/2.459, allocations: 11.6 MB / 1.029 GB, free: 97.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01174/2.471, allocations: 3.98 MB / 1.033 GB, free: 95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/2.473, allocations: 0.5007 MB / 1.034 GB, free: 94.52 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/2.473, allocations: 0 / 1.034 GB, free: 94.52 MB / 478.1 MB Notification: Performance of Templates: time 0.1461/2.619, allocations: 98.44 MB / 1.13 GB, free: 15.68 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)