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.007468/0.007469, allocations: 97.23 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.001671/0.001671, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.474/1.474, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001111/0.001111, allocations: 44.53 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09301, allocations: 46.64 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02826/0.1213, allocations: 29.57 MB / 402.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.1369, allocations: 7.433 MB / 410.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005994/0.143, allocations: 219.3 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03026/0.1733, allocations: 13.15 MB / 423.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.186, allocations: 3.049 MB / 426.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006192/0.1922, allocations: 1.914 MB / 428.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02255/0.2148, allocations: 18.91 MB / 447.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.477/0.6918, allocations: 44.64 MB / 492.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01511/0.7069, allocations: 10.29 MB / 0.4906 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02084/0.7278, allocations: 11.53 MB / 0.5018 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01639/0.7443, allocations: 3.77 MB / 0.5055 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.7555, allocations: 3.228 MB / 0.5087 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009043/0.7646, allocations: 5.767 MB / 0.5143 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01905/0.7836, allocations: 11.22 MB / 0.5253 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0448/0.8285, allocations: 39.75 MB / 0.5641 GB, free: 4.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8285, allocations: 0 / 0.5641 GB, free: 4.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.8285, allocations: 0 / 0.5641 GB, free: 4.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009596/0.8295, allocations: 0 / 0.5641 GB, free: 4.598 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.06968/0.8992, allocations: 23.27 MB / 0.5868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.8992, allocations: 15.89 kB / 0.5868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06916/0.9684, allocations: 12.37 MB / 0.5989 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.022/0.9904, allocations: 10.57 MB / 0.6092 GB, free: 6.969 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/0.9918, allocations: 1.404 MB / 0.6106 GB, free: 5.582 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006806/0.9986, allocations: 1.83 MB / 0.6124 GB, free: 3.766 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4901/1.489, allocations: 30.84 MB / 0.6425 GB, free: 151.9 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004887/1.489, allocations: 17.53 kB / 0.6425 GB, free: 151.9 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003693/1.493, allocations: 0.7644 MB / 0.6433 GB, free: 151.4 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/1.494, allocations: 0.9692 MB / 0.6442 GB, free: 151.3 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06083/1.555, allocations: 27.87 MB / 0.6714 GB, free: 139.3 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1851/1.74, allocations: 93.45 MB / 0.7627 GB, free: 55.54 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0355/1.776, allocations: 53.34 MB / 0.8148 GB, free: 13.32 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01174/1.787, allocations: 5.983 MB / 0.8206 GB, free: 7.328 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03597/1.823, allocations: 16.62 MB / 0.8368 GB, free: 6.605 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.112e-05/1.824, allocations: 81.84 kB / 0.8369 GB, free: 6.516 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=427): time 7.434e-06/1.824, allocations: 0 / 0.8369 GB, free: 6.516 MB / 0.5452 GB Notification: Performance of matching and sorting (n=427): time 0.2952/2.119, allocations: 13.24 MB / 0.8498 GB, free: 175.3 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/2.119, allocations: 125.4 kB / 0.85 GB, free: 175.2 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/2.132, allocations: 7.5 MB / 0.8573 GB, free: 173.2 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0007484/2.132, allocations: 92.14 kB / 0.8574 GB, free: 173.1 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004613/2.137, allocations: 8.865 MB / 0.866 GB, free: 168.2 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/2.139, allocations: 1.626 MB / 0.8676 GB, free: 167.1 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003337/2.142, allocations: 2.294 MB / 0.8699 GB, free: 166 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/2.142, allocations: 305.1 kB / 0.8702 GB, free: 165.7 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00608/2.148, allocations: 4.712 MB / 0.8748 GB, free: 164 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009266/2.158, allocations: 10.4 MB / 0.8849 GB, free: 154.6 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/2.174, allocations: 15.98 MB / 0.9005 GB, free: 142.1 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/2.174, allocations: 57.69 kB / 0.9006 GB, free: 142.1 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02344/2.197, allocations: 16.03 MB / 0.9162 GB, free: 135.8 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/2.197, allocations: 91.17 kB / 0.9163 GB, free: 135.8 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000267/2.198, allocations: 200.4 kB / 0.9165 GB, free: 135.8 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/2.202, allocations: 1.582 MB / 0.9181 GB, free: 135.5 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007491/2.209, allocations: 2.507 MB / 0.9205 GB, free: 135.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/2.222, allocations: 11.53 MB / 0.9318 GB, free: 126.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008736/2.23, allocations: 1.592 MB / 0.9333 GB, free: 124.7 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/2.232, allocations: 0.6011 MB / 0.9339 GB, free: 124.1 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.009861/2.242, allocations: 7.392 MB / 0.9411 GB, free: 117.4 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/2.243, allocations: 0.6597 MB / 0.9418 GB, free: 116.7 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/2.254, allocations: 8.096 MB / 0.9497 GB, free: 108.6 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007736/2.262, allocations: 6.48 MB / 0.956 GB, free: 102.1 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/2.262, allocations: 18.53 kB / 0.956 GB, free: 102.1 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.622e-05/2.262, allocations: 23.91 kB / 0.9561 GB, free: 102.1 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/2.292, allocations: 20.74 MB / 0.9763 GB, free: 81.34 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/2.292, allocations: 0 / 0.9763 GB, free: 81.34 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/2.295, allocations: 0.7645 MB / 0.9771 GB, free: 80.57 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/2.299, allocations: 1.348 MB / 0.9784 GB, free: 79.22 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/2.299, allocations: 87.98 kB / 0.9785 GB, free: 79.13 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/2.311, allocations: 11.15 MB / 0.9893 GB, free: 67.85 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.311, allocations: 3.984 kB / 0.9894 GB, free: 67.84 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/2.325, allocations: 11.74 MB / 1.001 GB, free: 56.05 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/2.328, allocations: 1.347 MB / 1.002 GB, free: 54.68 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/2.329, allocations: 79.94 kB / 1.002 GB, free: 54.61 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/2.332, allocations: 307.7 kB / 1.003 GB, free: 54.3 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005992/2.333, allocations: 287.9 kB / 1.003 GB, free: 54.02 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/2.333, allocations: 128 kB / 1.003 GB, free: 53.9 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007067/2.34, allocations: 4.922 MB / 1.008 GB, free: 48.99 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.51e-07/2.34, allocations: 0 / 1.008 GB, free: 48.99 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01125/2.352, allocations: 4.242 MB / 1.012 GB, free: 44.73 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.0009913/2.353, allocations: 276.7 kB / 1.012 GB, free: 44.47 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0147/2.367, allocations: 10.97 MB / 1.023 GB, free: 33.52 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.367, allocations: 2.188 kB / 1.023 GB, free: 33.52 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.005785/2.373, allocations: 3.948 MB / 1.027 GB, free: 29.56 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008708/2.382, allocations: 1.559 MB / 1.028 GB, free: 28.01 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2857/2.668, allocations: 30.12 MB / 1.058 GB, free: 156.1 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01648/2.684, allocations: 11.61 MB / 1.069 GB, free: 155 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.008805/2.693, allocations: 3.976 MB / 1.073 GB, free: 154.7 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/2.694, allocations: 0.5022 MB / 1.073 GB, free: 154.7 MB / 0.5452 GB Notification: Performance of SimCode: time 7.51e-07/2.694, allocations: 0 / 1.073 GB, free: 154.7 MB / 0.5452 GB Notification: Performance of Templates: time 0.1493/2.844, allocations: 93.92 MB / 1.165 GB, free: 81.5 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)