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.005268/0.005268, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.0012/0.0012, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.486/1.486, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001405/0.001405, allocations: 49.11 kB / 326.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1014, allocations: 46.63 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02985/0.1313, allocations: 29.57 MB / 402.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.1485, allocations: 7.433 MB / 410.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006534/0.1551, allocations: 219.3 kB / 410.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03024/0.1854, allocations: 13.2 MB / 423.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01296/0.1984, allocations: 3.073 MB / 426.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.2061, allocations: 1.898 MB / 428.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02366/0.2298, allocations: 18.92 MB / 447.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.47/0.6999, allocations: 44.63 MB / 492.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01888/0.7188, allocations: 10.3 MB / 0.4906 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02073/0.7395, allocations: 11.54 MB / 0.5019 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01728/0.7569, allocations: 3.772 MB / 0.5056 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.7694, allocations: 3.225 MB / 0.5087 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01124/0.7807, allocations: 5.762 MB / 0.5144 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0215/0.8022, allocations: 11.22 MB / 0.5253 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05134/0.8536, allocations: 39.75 MB / 0.5641 GB, free: 4.355 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8537, allocations: 0 / 0.5641 GB, free: 4.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8537, allocations: 0 / 0.5641 GB, free: 4.355 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001202/0.8549, allocations: 4 kB / 0.5642 GB, free: 4.352 MB / 462.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.08105/0.936, allocations: 23.27 MB / 0.5869 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.936, allocations: 15.89 kB / 0.5869 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06844/1.004, allocations: 12.37 MB / 0.599 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02811/1.033, allocations: 10.57 MB / 0.6093 GB, free: 6.727 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002045/1.035, allocations: 1.411 MB / 0.6107 GB, free: 5.332 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009158/1.044, allocations: 1.831 MB / 0.6125 GB, free: 3.516 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5057/1.55, allocations: 30.84 MB / 0.6426 GB, free: 151.7 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008467/1.551, allocations: 25.33 kB / 0.6426 GB, free: 151.7 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008616/1.559, allocations: 0.7589 MB / 0.6433 GB, free: 151.1 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001647/1.561, allocations: 0.9671 MB / 0.6443 GB, free: 151 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05637/1.617, allocations: 27.86 MB / 0.6715 GB, free: 139.1 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1521/1.769, allocations: 93.45 MB / 0.7628 GB, free: 55.12 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03319/1.803, allocations: 53.33 MB / 0.8148 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01097/1.814, allocations: 5.983 MB / 0.8207 GB, free: 6.906 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03636/1.85, allocations: 16.62 MB / 0.8369 GB, free: 6.184 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/1.85, allocations: 81.84 kB / 0.837 GB, free: 6.094 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=427): time 1.035e-05/1.85, allocations: 0 / 0.837 GB, free: 6.094 MB / 0.5452 GB Notification: Performance of matching and sorting (n=427): time 0.2978/2.148, allocations: 13.24 MB / 0.8499 GB, free: 174.8 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/2.148, allocations: 121.6 kB / 0.85 GB, free: 174.7 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/2.16, allocations: 7.496 MB / 0.8574 GB, free: 172.9 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0008501/2.161, allocations: 98.86 kB / 0.8574 GB, free: 172.8 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004301/2.165, allocations: 8.869 MB / 0.8661 GB, free: 168 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002297/2.168, allocations: 1.625 MB / 0.8677 GB, free: 166.9 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003189/2.171, allocations: 2.284 MB / 0.8699 GB, free: 165.7 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.136e-05/2.171, allocations: 305.1 kB / 0.8702 GB, free: 165.4 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005955/2.177, allocations: 4.71 MB / 0.8748 GB, free: 163.8 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009774/2.187, allocations: 10.41 MB / 0.885 GB, free: 154.3 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/2.204, allocations: 15.99 MB / 0.9006 GB, free: 141.9 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/2.204, allocations: 57.31 kB / 0.9006 GB, free: 141.9 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02351/2.227, allocations: 16.04 MB / 0.9163 GB, free: 135.5 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/2.228, allocations: 89.62 kB / 0.9164 GB, free: 135.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003059/2.228, allocations: 193.5 kB / 0.9166 GB, free: 135.5 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004241/2.232, allocations: 1.59 MB / 0.9181 GB, free: 135.2 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008406/2.24, allocations: 2.502 MB / 0.9206 GB, free: 134.9 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/2.254, allocations: 11.54 MB / 0.9318 GB, free: 125.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009472/2.263, allocations: 1.589 MB / 0.9334 GB, free: 123.8 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.265, allocations: 0.597 MB / 0.934 GB, free: 123.2 MB / 0.5452 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.01071/2.276, allocations: 7.399 MB / 0.9412 GB, free: 115.8 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/2.277, allocations: 0.6597 MB / 0.9418 GB, free: 115.2 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/2.287, allocations: 8.092 MB / 0.9497 GB, free: 107.1 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007407/2.295, allocations: 6.48 MB / 0.9561 GB, free: 100.6 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/2.295, allocations: 16 kB / 0.9561 GB, free: 100.6 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/2.295, allocations: 30.91 kB / 0.9561 GB, free: 100.5 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03427/2.329, allocations: 20.74 MB / 0.9764 GB, free: 79.8 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/2.329, allocations: 0 / 0.9764 GB, free: 79.8 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/2.332, allocations: 0.7684 MB / 0.9771 GB, free: 79.04 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003803/2.336, allocations: 1.341 MB / 0.9784 GB, free: 77.69 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000349/2.336, allocations: 91.98 kB / 0.9785 GB, free: 77.6 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/2.348, allocations: 11.15 MB / 0.9894 GB, free: 66.32 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.348, allocations: 4 kB / 0.9894 GB, free: 66.32 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/2.362, allocations: 11.74 MB / 1.001 GB, free: 54.52 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003316/2.366, allocations: 1.343 MB / 1.002 GB, free: 53.16 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009541/2.367, allocations: 76 kB / 1.002 GB, free: 53.08 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/2.369, allocations: 307.6 kB / 1.003 GB, free: 52.78 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006829/2.37, allocations: 291.9 kB / 1.003 GB, free: 52.5 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/2.37, allocations: 122.2 kB / 1.003 GB, free: 52.38 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007879/2.378, allocations: 4.934 MB / 1.008 GB, free: 47.46 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.9e-07/2.378, allocations: 4 kB / 1.008 GB, free: 47.46 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01342/2.392, allocations: 4.242 MB / 1.012 GB, free: 43.2 MB / 0.5452 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.00126/2.393, allocations: 273.6 kB / 1.012 GB, free: 42.93 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01439/2.407, allocations: 10.97 MB / 1.023 GB, free: 31.99 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/2.407, allocations: 6.188 kB / 1.023 GB, free: 31.98 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.005003/2.412, allocations: 3.949 MB / 1.027 GB, free: 28.03 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007584/2.42, allocations: 1.544 MB / 1.028 GB, free: 26.5 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2984/2.718, allocations: 30.13 MB / 1.058 GB, free: 155 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02208/2.741, allocations: 11.61 MB / 1.069 GB, free: 153.9 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.009379/2.75, allocations: 3.975 MB / 1.073 GB, free: 153.6 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/2.752, allocations: 0.5073 MB / 1.073 GB, free: 153.6 MB / 0.5452 GB Notification: Performance of SimCode: time 1.212e-06/2.752, allocations: 0 / 1.073 GB, free: 153.6 MB / 0.5452 GB Notification: Performance of Templates: time 0.1509/2.903, allocations: 93.92 MB / 1.165 GB, free: 81.17 MB / 0.5452 GB 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)