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.001362/0.001362, allocations: 100.7 kB / 16.5 MB, free: 6.641 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.001221/0.001221, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.389/1.389, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001129/0.001129, allocations: 51.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08562/0.08675, allocations: 46.64 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02779/0.1146, allocations: 29 MB / 355 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.1293, allocations: 7.348 MB / 362.3 MB, free: 392 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004824/0.1342, allocations: 207.3 kB / 362.5 MB, free: 184 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02492/0.1591, allocations: 12.5 MB / 375 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.1695, allocations: 2.753 MB / 377.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1555/0.325, allocations: 1.749 MB / 379.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01994/0.3449, allocations: 18.48 MB / 398 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0584/0.4034, allocations: 37.37 MB / 435.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01577/0.4192, allocations: 9.015 MB / 444.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01713/0.4364, allocations: 11.12 MB / 455.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005799/0.4422, allocations: 2.101 MB / 457.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008472/0.4507, allocations: 2.344 MB / 459.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007386/0.4581, allocations: 4.853 MB / 464.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0207/0.4788, allocations: 10.29 MB / 475.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04082/0.5197, allocations: 38.89 MB / 0.5019 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5197, allocations: 0 / 0.5019 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5197, allocations: 0 / 0.5019 GB, free: 1.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001037/0.5207, allocations: 0 / 0.5019 GB, free: 1.938 MB / 414.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.06523/0.586, allocations: 22.99 MB / 0.5244 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.586, allocations: 8.031 kB / 0.5244 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3504/0.9365, allocations: 12.28 MB / 0.5364 GB, free: 128.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/0.9589, allocations: 10.53 MB / 0.5467 GB, free: 124.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.9602, allocations: 1.396 MB / 0.548 GB, free: 123.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006706/0.9669, allocations: 1.83 MB / 0.5498 GB, free: 123.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06787/1.035, allocations: 30.89 MB / 0.58 GB, free: 108.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005467/1.035, allocations: 20.78 kB / 0.58 GB, free: 108.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005159/1.041, allocations: 0.753 MB / 0.5807 GB, free: 107.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006914/1.041, allocations: 0.9907 MB / 0.5817 GB, free: 106.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05254/1.094, allocations: 27.91 MB / 0.609 GB, free: 78.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1355/1.229, allocations: 94.38 MB / 0.7011 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3308/1.56, allocations: 53.41 MB / 0.7533 GB, free: 95.72 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0104/1.571, allocations: 5.922 MB / 0.7591 GB, free: 95.64 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02514/1.596, allocations: 16.86 MB / 0.7755 GB, free: 87.53 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/1.596, allocations: 78.28 kB / 0.7756 GB, free: 87.46 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 7.153e-06/1.596, allocations: 1.078 kB / 0.7756 GB, free: 87.46 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.02728/1.623, allocations: 13.42 MB / 0.7887 GB, free: 83.42 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.623, allocations: 121.1 kB / 0.7888 GB, free: 83.32 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008862/1.632, allocations: 7.495 MB / 0.7962 GB, free: 80.71 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0006776/1.633, allocations: 93.55 kB / 0.7962 GB, free: 80.62 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003879/1.637, allocations: 8.515 MB / 0.8046 GB, free: 74.23 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.639, allocations: 1.599 MB / 0.8061 GB, free: 73.04 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002919/1.641, allocations: 2.283 MB / 0.8084 GB, free: 71.94 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/1.642, allocations: 301.1 kB / 0.8086 GB, free: 71.64 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005819/1.647, allocations: 4.783 MB / 0.8133 GB, free: 69.93 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008384/1.656, allocations: 10.49 MB / 0.8236 GB, free: 60.48 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.671, allocations: 16.15 MB / 0.8393 GB, free: 46.11 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002379/1.671, allocations: 56 kB / 0.8394 GB, free: 46.05 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02381/1.695, allocations: 16.17 MB / 0.8552 GB, free: 29.81 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.695, allocations: 88 kB / 0.8552 GB, free: 29.72 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002528/1.696, allocations: 199.9 kB / 0.8554 GB, free: 29.53 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/1.7, allocations: 1.706 MB / 0.8571 GB, free: 27.82 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007782/1.708, allocations: 2.503 MB / 0.8595 GB, free: 25.31 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.72, allocations: 10.77 MB / 0.8701 GB, free: 14.42 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009384/1.729, allocations: 1.56 MB / 0.8716 GB, free: 12.84 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/1.732, allocations: 0.6054 MB / 0.8722 GB, free: 12.24 MB / 478.3 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01167/1.743, allocations: 7.394 MB / 0.8794 GB, free: 4.824 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.745, allocations: 0.6326 MB / 0.88 GB, free: 4.184 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.757, allocations: 8.252 MB / 0.8881 GB, free: 11.91 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009755/1.767, allocations: 6.651 MB / 0.8946 GB, free: 5.238 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.767, allocations: 12 kB / 0.8946 GB, free: 5.227 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/1.767, allocations: 23.92 kB / 0.8946 GB, free: 5.203 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2349/2.002, allocations: 21.03 MB / 0.9151 GB, free: 141.1 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/2.002, allocations: 0 / 0.9151 GB, free: 141.1 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/2.005, allocations: 0.7696 MB / 0.9159 GB, free: 141.1 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005063/2.01, allocations: 1.449 MB / 0.9173 GB, free: 140.8 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005798/2.011, allocations: 96.86 kB / 0.9174 GB, free: 140.7 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/2.022, allocations: 10.41 MB / 0.9276 GB, free: 135.3 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.022, allocations: 2.906 kB / 0.9276 GB, free: 135.3 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/2.038, allocations: 11.97 MB / 0.9393 GB, free: 130.6 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003233/2.041, allocations: 1.332 MB / 0.9406 GB, free: 129.9 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/2.043, allocations: 83.64 kB / 0.9406 GB, free: 129.8 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/2.046, allocations: 309.1 kB / 0.9409 GB, free: 129.7 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006581/2.047, allocations: 298.1 kB / 0.9412 GB, free: 129.7 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/2.047, allocations: 121.8 kB / 0.9413 GB, free: 129.7 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.008071/2.055, allocations: 4.926 MB / 0.9461 GB, free: 127.9 MB / 494.3 MB Notification: Performance of sort global known variables: time 5.11e-07/2.055, allocations: 0 / 0.9461 GB, free: 127.9 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01803/2.073, allocations: 4.189 MB / 0.9502 GB, free: 126.6 MB / 494.3 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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/2.075, allocations: 268.8 kB / 0.9505 GB, free: 126.4 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01516/2.09, allocations: 11.14 MB / 0.9614 GB, free: 122.2 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/2.09, allocations: 3.531 kB / 0.9614 GB, free: 122.2 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.005664/2.095, allocations: 4.021 MB / 0.9653 GB, free: 118.9 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007262/2.103, allocations: 1.468 MB / 0.9667 GB, free: 117.7 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05423/2.157, allocations: 37.6 MB / 1.003 GB, free: 82.98 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01865/2.176, allocations: 11.61 MB / 1.015 GB, free: 71.8 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01147/2.187, allocations: 3.979 MB / 1.019 GB, free: 67.81 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/2.189, allocations: 0.5072 MB / 1.019 GB, free: 67.3 MB / 494.3 MB Notification: Performance of SimCode: time 1.333e-06/2.189, allocations: 0 / 1.019 GB, free: 67.3 MB / 494.3 MB Notification: Performance of Templates: time 0.3914/2.581, allocations: 96.24 MB / 1.113 GB, free: 109.4 MB / 494.3 MB 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)