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.001108/0.001108, allocations: 90.2 kB / 16.31 MB, free: 5.676 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.001318/0.001319, allocations: 180.5 kB / 17.21 MB, free: 5.594 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.548/1.548, allocations: 205.4 MB / 223.4 MB, free: 13.11 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.0005066/0.0005066, allocations: 12 kB / 280.1 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1077, allocations: 47.58 MB / 327.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02873/0.1364, allocations: 25.52 MB / 353.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.1551, allocations: 6.819 MB / 360.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007437/0.1626, allocations: 207.3 kB / 360.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007292/0.1699, allocations: 1.417 MB / 361.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.1844, allocations: 2.554 MB / 364.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009316/0.1938, allocations: 1.393 MB / 365.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.4462/0.64, allocations: 23.94 MB / 389.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0631/0.7032, allocations: 35.77 MB / 425.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/0.7187, allocations: 7.058 MB / 432.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01561/0.7344, allocations: 8.213 MB / 440.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004762/0.7392, allocations: 1.164 MB / 441.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008331/0.7475, allocations: 1.408 MB / 443.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006401/0.754, allocations: 3.449 MB / 446.6 MB, free: 224 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009833/0.7638, allocations: 3.718 MB / 450.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04253/0.8064, allocations: 33.71 MB / 484.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.8064, allocations: 4 kB / 484.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.8064, allocations: 0 / 484.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001243/0.8077, allocations: 0 / 484.1 MB, free: 11.95 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.05715/0.8649, allocations: 18.97 MB / 0.4913 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.8649, allocations: 12.03 kB / 0.4913 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06595/0.9309, allocations: 12.34 MB / 0.5033 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02598/0.9569, allocations: 10.46 MB / 0.5135 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00191/0.9589, allocations: 1.397 MB / 0.5149 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008519/0.9674, allocations: 1.825 MB / 0.5167 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5167/1.484, allocations: 30.74 MB / 0.5467 GB, free: 99.32 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00104/1.485, allocations: 14.61 kB / 0.5467 GB, free: 99.32 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008639/1.494, allocations: 0.7588 MB / 0.5474 GB, free: 98.73 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/1.495, allocations: 0.9914 MB / 0.5484 GB, free: 98.63 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06007/1.555, allocations: 27.76 MB / 0.5755 GB, free: 86.37 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1595/1.715, allocations: 94.56 MB / 0.6679 GB, free: 12.12 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2905/2.005, allocations: 53.33 MB / 0.7199 GB, free: 123.6 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01161/2.017, allocations: 5.902 MB / 0.7257 GB, free: 123.5 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03252/2.05, allocations: 16.87 MB / 0.7422 GB, free: 115.6 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.519e-05/2.05, allocations: 78.77 kB / 0.7423 GB, free: 115.5 MB / 478.2 MB Notification: Performance of pre-optimization done (n=439): time 8.877e-06/2.05, allocations: 0 / 0.7423 GB, free: 115.5 MB / 478.2 MB Notification: Performance of matching and sorting (n=439): time 0.03249/2.082, allocations: 13.13 MB / 0.7551 GB, free: 111.7 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/2.083, allocations: 126.8 kB / 0.7552 GB, free: 111.6 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/2.098, allocations: 7.425 MB / 0.7625 GB, free: 108.9 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0009668/2.1, allocations: 97.47 kB / 0.7625 GB, free: 108.8 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.005646/2.105, allocations: 8.514 MB / 0.7709 GB, free: 102.4 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002108/2.107, allocations: 1.597 MB / 0.7724 GB, free: 101.2 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008307/2.108, allocations: 223.5 kB / 0.7726 GB, free: 101 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 0.0005319/2.109, allocations: 0.7631 MB / 0.7734 GB, free: 100.5 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006604/2.115, allocations: 4.735 MB / 0.778 GB, free: 98.83 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009739/2.125, allocations: 10.44 MB / 0.7882 GB, free: 89.39 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/2.135, allocations: 7.319 MB / 0.7953 GB, free: 86.21 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/2.135, allocations: 55.09 kB / 0.7954 GB, free: 86.21 MB / 478.2 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.03114/2.167, allocations: 16.07 MB / 0.8111 GB, free: 73.23 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/2.167, allocations: 92.06 kB / 0.8112 GB, free: 73.14 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004186/2.167, allocations: 197.2 kB / 0.8114 GB, free: 72.95 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/2.173, allocations: 1.727 MB / 0.8131 GB, free: 71.23 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0083/2.181, allocations: 2.503 MB / 0.8155 GB, free: 68.72 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/2.194, allocations: 10.78 MB / 0.826 GB, free: 57.81 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009573/2.203, allocations: 1.556 MB / 0.8275 GB, free: 56.24 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/2.206, allocations: 0.5976 MB / 0.8281 GB, free: 55.64 MB / 478.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01425/2.22, allocations: 7.402 MB / 0.8354 GB, free: 48.22 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/2.221, allocations: 0.6289 MB / 0.836 GB, free: 47.59 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/2.233, allocations: 8.238 MB / 0.844 GB, free: 39.32 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007883/2.241, allocations: 6.619 MB / 0.8505 GB, free: 32.68 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/2.241, allocations: 15.95 kB / 0.8505 GB, free: 32.66 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/2.241, allocations: 19.92 kB / 0.8505 GB, free: 32.64 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03335/2.275, allocations: 20.98 MB / 0.871 GB, free: 11.67 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/2.275, allocations: 0 / 0.871 GB, free: 11.67 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/2.278, allocations: 0.7645 MB / 0.8718 GB, free: 10.9 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004482/2.282, allocations: 1.453 MB / 0.8732 GB, free: 9.449 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005396/2.283, allocations: 95.97 kB / 0.8733 GB, free: 9.355 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2681/2.551, allocations: 10.41 MB / 0.8834 GB, free: 139.1 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.551, allocations: 3.375 kB / 0.8834 GB, free: 139.1 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/2.57, allocations: 11.94 MB / 0.8951 GB, free: 137.6 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004624/2.574, allocations: 1.372 MB / 0.8964 GB, free: 137 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/2.576, allocations: 77.2 kB / 0.8965 GB, free: 137 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/2.579, allocations: 306.2 kB / 0.8968 GB, free: 136.9 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007398/2.58, allocations: 293.3 kB / 0.8971 GB, free: 136.9 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/2.581, allocations: 125.7 kB / 0.8972 GB, free: 136.8 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.009067/2.59, allocations: 4.877 MB / 0.902 GB, free: 135.1 MB / 494.2 MB Notification: Performance of sort global known variables: time 4.61e-07/2.59, allocations: 3.094 kB / 0.902 GB, free: 135.1 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.01477/2.604, allocations: 4.186 MB / 0.9061 GB, free: 133.8 MB / 494.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/2.606, allocations: 282 kB / 0.9063 GB, free: 133.6 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.0183/2.624, allocations: 11.07 MB / 0.9171 GB, free: 129.4 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.624, allocations: 0 / 0.9171 GB, free: 129.4 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.006749/2.631, allocations: 4.013 MB / 0.9211 GB, free: 127.8 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009779/2.641, allocations: 1.481 MB / 0.9225 GB, free: 127.3 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07565/2.717, allocations: 35.97 MB / 0.9576 GB, free: 105.7 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02672/2.743, allocations: 11.61 MB / 0.969 GB, free: 96.81 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.01392/2.757, allocations: 3.98 MB / 0.9729 GB, free: 94.21 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002874/2.76, allocations: 0.5012 MB / 0.9733 GB, free: 93.73 MB / 494.2 MB Notification: Performance of SimCode: time 1.253e-06/2.76, allocations: 0 / 0.9733 GB, free: 93.73 MB / 494.2 MB Notification: Performance of Templates: time 0.4803/3.241, allocations: 93.22 MB / 1.064 GB, free: 144 MB / 494.2 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)