Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.004349/0.004349, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001083/0.001083, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.00117/0.00117, allocations: 53.92 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.097, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03068/0.1277, allocations: 29.57 MB / 402.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.1455, allocations: 7.437 MB / 410.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008014/0.1536, allocations: 219.3 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03224/0.1859, allocations: 13.15 MB / 423.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.2011, allocations: 3.053 MB / 426.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007913/0.2091, allocations: 1.902 MB / 428.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02329/0.2324, allocations: 18.92 MB / 447.4 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4714/0.7038, allocations: 44.61 MB / 492 MB, free: 15.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01882/0.7227, allocations: 10.29 MB / 0.4906 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01943/0.7422, allocations: 11.54 MB / 0.5018 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01751/0.7597, allocations: 3.785 MB / 0.5055 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.7723, allocations: 3.228 MB / 0.5087 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01147/0.7838, allocations: 5.765 MB / 0.5143 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02304/0.8069, allocations: 11.22 MB / 0.5253 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04795/0.8549, allocations: 39.75 MB / 0.5641 GB, free: 4.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.855, allocations: 3.984 kB / 0.5641 GB, free: 4.281 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.855, allocations: 4 kB / 0.5641 GB, free: 4.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001205/0.8562, allocations: 0 / 0.5641 GB, free: 4.277 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.07291/0.9292, allocations: 23.26 MB / 0.5868 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.9292, allocations: 11.89 kB / 0.5868 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06656/0.9958, allocations: 12.38 MB / 0.5989 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/1.017, allocations: 10.57 MB / 0.6092 GB, free: 6.645 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00124/1.018, allocations: 1.401 MB / 0.6106 GB, free: 5.258 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006897/1.025, allocations: 1.829 MB / 0.6124 GB, free: 3.445 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.493/1.518, allocations: 30.84 MB / 0.6425 GB, free: 151.8 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008573/1.519, allocations: 25.58 kB / 0.6425 GB, free: 151.8 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006219/1.525, allocations: 0.7582 MB / 0.6433 GB, free: 151.2 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/1.527, allocations: 0.9699 MB / 0.6442 GB, free: 151.1 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05993/1.587, allocations: 27.86 MB / 0.6714 GB, free: 139.1 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1529/1.74, allocations: 93.44 MB / 0.7627 GB, free: 55.05 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03325/1.773, allocations: 53.33 MB / 0.8147 GB, free: 12.83 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0129/1.786, allocations: 5.987 MB / 0.8206 GB, free: 6.84 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03403/1.82, allocations: 16.62 MB / 0.8368 GB, free: 6.113 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/1.82, allocations: 77.91 kB / 0.8369 GB, free: 6.027 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=427): time 9.808e-06/1.82, allocations: 0 / 0.8369 GB, free: 6.027 MB / 0.5452 GB Notification: Performance of matching and sorting (n=427): time 0.304/2.124, allocations: 13.25 MB / 0.8498 GB, free: 174.9 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/2.124, allocations: 121.9 kB / 0.85 GB, free: 174.8 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/2.138, allocations: 7.498 MB / 0.8573 GB, free: 173.1 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0008847/2.139, allocations: 97.58 kB / 0.8574 GB, free: 173 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.005223/2.144, allocations: 8.866 MB / 0.866 GB, free: 168.1 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0024/2.146, allocations: 1.628 MB / 0.8676 GB, free: 167.1 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003899/2.15, allocations: 2.286 MB / 0.8698 GB, free: 165.9 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/2.15, allocations: 305.1 kB / 0.8701 GB, free: 165.6 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006365/2.157, allocations: 4.706 MB / 0.8747 GB, free: 163.9 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/2.167, allocations: 10.4 MB / 0.8849 GB, free: 154.5 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/2.184, allocations: 15.99 MB / 0.9005 GB, free: 142.1 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001628/2.184, allocations: 57.47 kB / 0.9006 GB, free: 142.1 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02599/2.21, allocations: 16.04 MB / 0.9162 GB, free: 135.7 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/2.21, allocations: 92.5 kB / 0.9163 GB, free: 135.7 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/2.21, allocations: 196.8 kB / 0.9165 GB, free: 135.7 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/2.215, allocations: 1.587 MB / 0.918 GB, free: 135.4 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008683/2.223, allocations: 2.503 MB / 0.9205 GB, free: 135.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/2.237, allocations: 11.55 MB / 0.9318 GB, free: 125.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009996/2.247, allocations: 1.585 MB / 0.9333 GB, free: 123.8 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/2.249, allocations: 0.598 MB / 0.9339 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.0124/2.261, allocations: 7.394 MB / 0.9411 GB, free: 115.8 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/2.263, allocations: 0.6636 MB / 0.9418 GB, free: 115.1 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/2.274, allocations: 8.088 MB / 0.9497 GB, free: 107 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007906/2.282, allocations: 6.48 MB / 0.956 GB, free: 100.5 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/2.282, allocations: 16 kB / 0.956 GB, free: 100.5 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-05/2.282, allocations: 19.92 kB / 0.956 GB, free: 100.5 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03303/2.315, allocations: 20.75 MB / 0.9763 GB, free: 79.71 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/2.315, allocations: 0 / 0.9763 GB, free: 79.71 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/2.318, allocations: 0.7663 MB / 0.977 GB, free: 78.95 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003956/2.322, allocations: 1.341 MB / 0.9784 GB, free: 77.61 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/2.323, allocations: 91.97 kB / 0.9784 GB, free: 77.52 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/2.335, allocations: 11.15 MB / 0.9893 GB, free: 66.24 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.335, allocations: 7.766 kB / 0.9893 GB, free: 66.23 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/2.349, allocations: 11.75 MB / 1.001 GB, free: 54.43 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/2.352, allocations: 1.347 MB / 1.002 GB, free: 53.06 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/2.353, allocations: 79.94 kB / 1.002 GB, free: 52.98 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/2.356, allocations: 303.7 kB / 1.002 GB, free: 52.69 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006345/2.356, allocations: 295.8 kB / 1.003 GB, free: 52.4 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/2.357, allocations: 116 kB / 1.003 GB, free: 52.29 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.006864/2.364, allocations: 4.934 MB / 1.008 GB, free: 47.37 MB / 0.5452 GB Notification: Performance of sort global known variables: time 5.21e-07/2.364, allocations: 4 kB / 1.008 GB, free: 47.36 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01397/2.378, allocations: 4.238 MB / 1.012 GB, free: 43.11 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.001198/2.379, allocations: 269 kB / 1.012 GB, free: 42.84 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0148/2.394, allocations: 10.96 MB / 1.023 GB, free: 31.9 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.394, allocations: 6.188 kB / 1.023 GB, free: 31.89 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.005661/2.399, allocations: 3.953 MB / 1.027 GB, free: 27.93 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009289/2.409, allocations: 1.544 MB / 1.028 GB, free: 26.41 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.281/2.69, allocations: 30.14 MB / 1.058 GB, free: 154.9 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01435/2.704, allocations: 11.6 MB / 1.069 GB, free: 153.8 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.008422/2.713, allocations: 3.978 MB / 1.073 GB, free: 153.5 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/2.714, allocations: 0.5063 MB / 1.073 GB, free: 153.5 MB / 0.5452 GB Notification: Performance of SimCode: time 7.21e-07/2.714, allocations: 0 / 1.073 GB, free: 153.5 MB / 0.5452 GB Notification: Performance of Templates: time 0.1434/2.857, allocations: 93.91 MB / 1.165 GB, free: 81.04 MB / 0.5452 GB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)