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.001101/0.001101, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001198/0.001199, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.524/1.524, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001287/0.001287, allocations: 51.94 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09218, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2245/0.3167, allocations: 29.57 MB / 404.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3365, allocations: 7.423 MB / 411.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01058/0.3472, allocations: 219.3 kB / 411.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03161/0.3788, allocations: 13.17 MB / 424.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01921/0.3981, allocations: 3.049 MB / 427.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.4091, allocations: 1.905 MB / 429.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.04125/0.4504, allocations: 18.92 MB / 448.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08091/0.5314, allocations: 44.61 MB / 493.3 MB, free: 8.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01524/0.5466, allocations: 10.29 MB / 0.4918 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01896/0.5656, allocations: 11.54 MB / 0.5031 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00827/0.5739, allocations: 2.973 MB / 0.506 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.5864, allocations: 3.222 MB / 0.5092 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01035/0.5968, allocations: 5.768 MB / 0.5148 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01925/0.6161, allocations: 11.21 MB / 0.5257 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4461/1.062, allocations: 39.66 MB / 0.5645 GB, free: 85.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.062, allocations: 1.031 kB / 0.5645 GB, free: 85.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/1.062, allocations: 0 / 0.5645 GB, free: 85.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001086/1.063, allocations: 0.6562 kB / 0.5645 GB, free: 85.12 MB / 478.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.07342/1.137, allocations: 22.89 MB / 0.5868 GB, free: 75.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.137, allocations: 11.55 kB / 0.5868 GB, free: 75.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06736/1.204, allocations: 12.28 MB / 0.5988 GB, free: 70.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02626/1.231, allocations: 10.55 MB / 0.6091 GB, free: 61.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/1.232, allocations: 1.399 MB / 0.6105 GB, free: 60.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01032/1.242, allocations: 1.838 MB / 0.6123 GB, free: 58.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07427/1.316, allocations: 30.84 MB / 0.6424 GB, free: 27.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000586/1.317, allocations: 23.8 kB / 0.6424 GB, free: 27.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006579/1.324, allocations: 0.7563 MB / 0.6432 GB, free: 26.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006765/1.324, allocations: 0.9724 MB / 0.6441 GB, free: 25.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06769/1.392, allocations: 27.86 MB / 0.6713 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/1.588, allocations: 93.19 MB / 0.7623 GB, free: 176 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2869/1.875, allocations: 53.33 MB / 0.8144 GB, free: 159 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008836/1.884, allocations: 5.996 MB / 0.8203 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02786/1.912, allocations: 16.58 MB / 0.8364 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.912, allocations: 85.38 kB / 0.8365 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 5.841e-06/1.912, allocations: 0 / 0.8365 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.03034/1.942, allocations: 13.21 MB / 0.8494 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/1.942, allocations: 120.5 kB / 0.8495 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009361/1.952, allocations: 7.493 MB / 0.8569 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007157/1.953, allocations: 97.7 kB / 0.857 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003503/1.956, allocations: 8.525 MB / 0.8653 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.957, allocations: 1.557 MB / 0.8668 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/1.96, allocations: 2.275 MB / 0.869 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/1.96, allocations: 301.1 kB / 0.8693 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005817/1.966, allocations: 4.707 MB / 0.8739 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008441/1.975, allocations: 10.4 MB / 0.8841 GB, free: 110 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/1.991, allocations: 15.99 MB / 0.8997 GB, free: 91.23 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/1.991, allocations: 56 kB / 0.8997 GB, free: 91.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02354/2.014, allocations: 16 MB / 0.9154 GB, free: 75.16 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/2.015, allocations: 92 kB / 0.9154 GB, free: 75.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002144/2.015, allocations: 199.9 kB / 0.9156 GB, free: 74.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/2.019, allocations: 1.589 MB / 0.9172 GB, free: 73.28 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007719/2.027, allocations: 2.503 MB / 0.9196 GB, free: 70.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/2.039, allocations: 11.52 MB / 0.9309 GB, free: 59.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009081/2.048, allocations: 1.552 MB / 0.9324 GB, free: 57.55 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/2.05, allocations: 0.603 MB / 0.933 GB, free: 56.95 MB / 0.5607 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.01189/2.062, allocations: 7.39 MB / 0.9402 GB, free: 49.54 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/2.063, allocations: 0.6326 MB / 0.9408 GB, free: 48.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/2.075, allocations: 8.084 MB / 0.9487 GB, free: 40.79 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008445/2.083, allocations: 6.48 MB / 0.955 GB, free: 34.29 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/2.083, allocations: 16 kB / 0.9551 GB, free: 34.27 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/2.084, allocations: 23.91 kB / 0.9551 GB, free: 34.25 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/2.114, allocations: 20.72 MB / 0.9753 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/2.114, allocations: 4 kB / 0.9753 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/2.117, allocations: 0.7703 MB / 0.9761 GB, free: 12.75 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003816/2.121, allocations: 1.341 MB / 0.9774 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/2.121, allocations: 91.97 kB / 0.9775 GB, free: 11.32 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/2.133, allocations: 11.15 MB / 0.9884 GB, free: 32 kB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/2.133, allocations: 0 / 0.9884 GB, free: 32 kB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2624/2.395, allocations: 11.71 MB / 0.9998 GB, free: 186.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/2.4, allocations: 1.313 MB / 1.001 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.402, allocations: 78.66 kB / 1.001 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003728/2.405, allocations: 295.8 kB / 1.001 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007721/2.406, allocations: 298.7 kB / 1.002 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/2.406, allocations: 124.4 kB / 1.002 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009464/2.416, allocations: 4.927 MB / 1.007 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.41e-07/2.416, allocations: 0 / 1.007 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01652/2.432, allocations: 4.187 MB / 1.011 GB, free: 183.4 MB / 0.5607 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.001479/2.434, allocations: 273.9 kB / 1.011 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0161/2.45, allocations: 10.97 MB / 1.022 GB, free: 179.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.45, allocations: 0 / 1.022 GB, free: 179.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006136/2.456, allocations: 3.941 MB / 1.026 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008189/2.465, allocations: 1.544 MB / 1.027 GB, free: 177 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05064/2.515, allocations: 29.68 MB / 1.056 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/2.528, allocations: 11.61 MB / 1.067 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009259/2.538, allocations: 3.976 MB / 1.071 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/2.539, allocations: 0.506 MB / 1.072 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of SimCode: time 2.345e-06/2.539, allocations: 0 / 1.072 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1409/2.68, allocations: 93.9 MB / 1.163 GB, free: 51.95 MB / 0.5607 GB 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)