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.001106/0.001106, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006654/0.006654, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000445/0.0004451, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 47.58 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02577/0.2649, allocations: 27.65 MB / 354.7 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.2825, allocations: 7.306 MB / 362 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006906/0.2895, allocations: 211.3 kB / 362.2 MB, free: 72 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00746/0.297, allocations: 2.022 MB / 364.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.3086, allocations: 2.734 MB / 367 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006927/0.3156, allocations: 1.755 MB / 368.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02458/0.3402, allocations: 18.46 MB / 387.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07974/0.42, allocations: 43.74 MB / 430.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.4338, allocations: 7.081 MB / 438 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/0.4481, allocations: 8.6 MB / 446.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004755/0.4529, allocations: 1.168 MB / 447.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008114/0.461, allocations: 1.414 MB / 449.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005816/0.4669, allocations: 3.53 MB / 452.7 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3674/0.8344, allocations: 8.745 MB / 461.5 MB, free: 45.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03544/0.8698, allocations: 37.28 MB / 498.7 MB, free: 31.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.8699, allocations: 1.25 kB / 498.7 MB, free: 31.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.8699, allocations: 0 / 498.7 MB, free: 31.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001145/0.8711, allocations: 0 / 498.7 MB, free: 31.34 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.05048/0.9215, allocations: 18.81 MB / 0.5054 GB, free: 22.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.9216, allocations: 11.12 kB / 0.5054 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06426/0.9859, allocations: 12.33 MB / 0.5175 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/1.006, allocations: 10.57 MB / 0.5278 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001155/1.007, allocations: 1.394 MB / 0.5291 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008408/1.016, allocations: 1.829 MB / 0.5309 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0818/1.098, allocations: 30.89 MB / 0.5611 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007998/1.099, allocations: 25.67 kB / 0.5611 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006923/1.105, allocations: 0.7559 MB / 0.5619 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001121/1.107, allocations: 0.9811 MB / 0.5628 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06125/1.168, allocations: 27.91 MB / 0.5901 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3559/1.524, allocations: 94.62 MB / 0.6825 GB, free: 95.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/1.555, allocations: 53.38 MB / 0.7346 GB, free: 37.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008613/1.563, allocations: 5.896 MB / 0.7404 GB, free: 31.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02324/1.587, allocations: 16.89 MB / 0.7569 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.587, allocations: 77.95 kB / 0.7569 GB, free: 14.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=439): time 6.112e-06/1.587, allocations: 0 / 0.7569 GB, free: 14.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=439): time 0.03056/1.617, allocations: 13.48 MB / 0.7701 GB, free: 1.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.618, allocations: 124.4 kB / 0.7702 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/1.63, allocations: 7.485 MB / 0.7775 GB, free: 9.504 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007191/1.631, allocations: 97.7 kB / 0.7776 GB, free: 9.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006102/1.637, allocations: 8.511 MB / 0.7859 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002171/1.639, allocations: 1.597 MB / 0.7875 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/1.641, allocations: 0.8582 MB / 0.7883 GB, free: 14.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/1.641, allocations: 309.1 kB / 0.7886 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008186/1.649, allocations: 4.78 MB / 0.7933 GB, free: 9.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2394/1.888, allocations: 10.48 MB / 0.8035 GB, free: 161.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01945/1.908, allocations: 16.15 MB / 0.8193 GB, free: 152.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003848/1.908, allocations: 57.47 kB / 0.8193 GB, free: 152.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02794/1.936, allocations: 16.16 MB / 0.8351 GB, free: 146.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/1.937, allocations: 88.28 kB / 0.8352 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003631/1.937, allocations: 202.3 kB / 0.8354 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/1.942, allocations: 1.703 MB / 0.8371 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008652/1.951, allocations: 2.502 MB / 0.8395 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.964, allocations: 10.79 MB / 0.8501 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/1.974, allocations: 1.558 MB / 0.8516 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/1.976, allocations: 0.6039 MB / 0.8522 GB, free: 137.5 MB / 494.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 (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.0128/1.989, allocations: 7.393 MB / 0.8594 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.99, allocations: 0.6288 MB / 0.86 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/2.002, allocations: 8.257 MB / 0.8681 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008137/2.011, allocations: 6.649 MB / 0.8746 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/2.011, allocations: 12 kB / 0.8746 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/2.011, allocations: 23.91 kB / 0.8746 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03239/2.043, allocations: 21.02 MB / 0.8951 GB, free: 96.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/2.043, allocations: 8.125 kB / 0.8951 GB, free: 96.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/2.046, allocations: 0.7606 MB / 0.8959 GB, free: 96.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004702/2.051, allocations: 1.457 MB / 0.8973 GB, free: 94.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004107/2.051, allocations: 93.02 kB / 0.8974 GB, free: 94.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/2.063, allocations: 10.44 MB / 0.9076 GB, free: 84.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/2.063, allocations: 0 / 0.9076 GB, free: 84.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/2.078, allocations: 11.98 MB / 0.9193 GB, free: 72.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002802/2.081, allocations: 1.379 MB / 0.9206 GB, free: 70.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008919/2.082, allocations: 72 kB / 0.9207 GB, free: 70.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/2.085, allocations: 303.7 kB / 0.921 GB, free: 70.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006/2.085, allocations: 302.2 kB / 0.9213 GB, free: 69.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/2.085, allocations: 131.9 kB / 0.9214 GB, free: 69.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007354/2.093, allocations: 4.922 MB / 0.9262 GB, free: 64.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.093, allocations: 7.938 kB / 0.9262 GB, free: 64.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01343/2.106, allocations: 4.192 MB / 0.9303 GB, free: 60.72 MB / 494.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 (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.000975/2.107, allocations: 273.1 kB / 0.9306 GB, free: 60.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01566/2.123, allocations: 11.13 MB / 0.9414 GB, free: 49.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.123, allocations: 0 / 0.9414 GB, free: 49.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004973/2.128, allocations: 4.034 MB / 0.9454 GB, free: 45.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00761/2.136, allocations: 1.442 MB / 0.9468 GB, free: 43.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2815/2.417, allocations: 37.64 MB / 0.9835 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01845/2.436, allocations: 11.61 MB / 0.9949 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009931/2.446, allocations: 3.982 MB / 0.9988 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/2.447, allocations: 0.5011 MB / 0.9992 GB, free: 147 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/2.447, allocations: 0 / 0.9992 GB, free: 147 MB / 494.1 MB Notification: Performance of Templates: time 0.1463/2.593, allocations: 94.97 MB / 1.092 GB, free: 67.25 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)