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.005632/0.005632, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001153/0.001153, allocations: 201.8 kB / 16.68 MB, free: 5.926 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.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001222/0.001222, allocations: 54.92 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09948, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02972/0.1292, allocations: 29.57 MB / 402.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.1461, allocations: 7.429 MB / 410.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00648/0.1527, allocations: 219.3 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02879/0.1815, allocations: 13.16 MB / 423.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.1944, allocations: 3.049 MB / 426.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007158/0.2016, allocations: 1.906 MB / 428.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02305/0.2247, allocations: 18.92 MB / 447.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4864/0.7111, allocations: 44.64 MB / 492.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01815/0.7293, allocations: 10.3 MB / 0.4906 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02208/0.7515, allocations: 11.54 MB / 0.5019 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01721/0.7687, allocations: 3.766 MB / 0.5055 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.7798, allocations: 3.221 MB / 0.5087 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009346/0.7891, allocations: 5.774 MB / 0.5143 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02054/0.8097, allocations: 11.22 MB / 0.5253 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04496/0.8547, allocations: 39.66 MB / 0.564 GB, free: 4.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.912e-06/0.8548, allocations: 0 / 0.564 GB, free: 4.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.8548, allocations: 0 / 0.564 GB, free: 4.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001003/0.8558, allocations: 0 / 0.564 GB, free: 4.805 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.06569/0.9215, allocations: 22.87 MB / 0.5863 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9215, allocations: 11.89 kB / 0.5864 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08847/1.01, allocations: 12.29 MB / 0.5984 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03319/1.043, allocations: 10.54 MB / 0.6086 GB, free: 7.707 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002087/1.045, allocations: 1.406 MB / 0.61 GB, free: 6.316 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009537/1.055, allocations: 1.834 MB / 0.6118 GB, free: 4.496 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5646/1.62, allocations: 30.84 MB / 0.6419 GB, free: 152.5 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007989/1.62, allocations: 14.16 kB / 0.6419 GB, free: 152.5 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007657/1.628, allocations: 0.7625 MB / 0.6427 GB, free: 151.9 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001181/1.629, allocations: 0.9687 MB / 0.6436 GB, free: 151.8 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06237/1.692, allocations: 27.87 MB / 0.6708 GB, free: 139.9 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1604/1.852, allocations: 93.21 MB / 0.7619 GB, free: 56.12 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03387/1.886, allocations: 53.33 MB / 0.8139 GB, free: 13.92 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01314/1.899, allocations: 5.99 MB / 0.8198 GB, free: 7.93 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03947/1.939, allocations: 16.58 MB / 0.836 GB, free: 7.023 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/1.939, allocations: 77.91 kB / 0.8361 GB, free: 6.938 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=427): time 5.961e-06/1.939, allocations: 0 / 0.8361 GB, free: 6.938 MB / 0.5452 GB Notification: Performance of matching and sorting (n=427): time 0.2819/2.221, allocations: 13.21 MB / 0.849 GB, free: 175.8 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/2.221, allocations: 122.7 kB / 0.8491 GB, free: 175.7 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01394/2.235, allocations: 7.484 MB / 0.8564 GB, free: 173.6 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0007667/2.236, allocations: 96.52 kB / 0.8565 GB, free: 173.5 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.005363/2.241, allocations: 8.535 MB / 0.8648 GB, free: 167.4 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002087/2.243, allocations: 1.554 MB / 0.8663 GB, free: 166.3 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003493/2.247, allocations: 2.273 MB / 0.8685 GB, free: 165.2 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/2.247, allocations: 305.1 kB / 0.8688 GB, free: 164.9 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/2.253, allocations: 4.703 MB / 0.8734 GB, free: 163.2 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009415/2.262, allocations: 10.41 MB / 0.8836 GB, free: 153.8 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/2.278, allocations: 15.98 MB / 0.8992 GB, free: 141.3 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/2.278, allocations: 57.94 kB / 0.8993 GB, free: 141.3 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02579/2.304, allocations: 16.01 MB / 0.9149 GB, free: 135 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/2.304, allocations: 90.25 kB / 0.915 GB, free: 135 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003423/2.304, allocations: 195.8 kB / 0.9152 GB, free: 135 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004566/2.309, allocations: 1.581 MB / 0.9167 GB, free: 134.7 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008683/2.318, allocations: 2.508 MB / 0.9192 GB, free: 134.4 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/2.332, allocations: 11.53 MB / 0.9304 GB, free: 125.6 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009251/2.341, allocations: 1.545 MB / 0.9319 GB, free: 124.1 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/2.343, allocations: 0.6009 MB / 0.9325 GB, free: 123.5 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.356, allocations: 7.4 MB / 0.9397 GB, free: 117 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/2.357, allocations: 0.6217 MB / 0.9404 GB, free: 116.4 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/2.371, allocations: 8.087 MB / 0.9482 GB, free: 108.3 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00773/2.379, allocations: 6.48 MB / 0.9546 GB, free: 101.8 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/2.379, allocations: 12 kB / 0.9546 GB, free: 101.8 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/2.379, allocations: 23.91 kB / 0.9546 GB, free: 101.8 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0397/2.418, allocations: 20.74 MB / 0.9749 GB, free: 81.03 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/2.418, allocations: 2.188 kB / 0.9749 GB, free: 81.03 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/2.422, allocations: 0.7684 MB / 0.9756 GB, free: 80.26 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/2.426, allocations: 1.348 MB / 0.9769 GB, free: 78.91 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007388/2.427, allocations: 87.98 kB / 0.977 GB, free: 78.83 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/2.44, allocations: 11.13 MB / 0.9879 GB, free: 67.56 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/2.44, allocations: 11.86 kB / 0.9879 GB, free: 67.55 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/2.456, allocations: 11.71 MB / 0.9993 GB, free: 55.79 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003993/2.46, allocations: 1.312 MB / 1.001 GB, free: 54.45 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/2.462, allocations: 79.94 kB / 1.001 GB, free: 54.37 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004243/2.466, allocations: 307.7 kB / 1.001 GB, free: 54.07 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009122/2.467, allocations: 291.8 kB / 1.001 GB, free: 53.78 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000481/2.467, allocations: 127.5 kB / 1.001 GB, free: 53.66 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007983/2.475, allocations: 4.926 MB / 1.006 GB, free: 48.75 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.41e-07/2.475, allocations: 4 kB / 1.006 GB, free: 48.75 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0143/2.49, allocations: 4.176 MB / 1.01 GB, free: 44.55 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.001444/2.491, allocations: 272.3 kB / 1.011 GB, free: 44.29 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0164/2.507, allocations: 10.97 MB / 1.021 GB, free: 33.34 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/2.508, allocations: 2.188 kB / 1.021 GB, free: 33.34 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.005751/2.513, allocations: 3.942 MB / 1.025 GB, free: 29.39 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008619/2.522, allocations: 1.55 MB / 1.027 GB, free: 27.86 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2907/2.813, allocations: 29.67 MB / 1.056 GB, free: 156.7 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02343/2.836, allocations: 11.61 MB / 1.067 GB, free: 155.6 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01052/2.847, allocations: 3.977 MB / 1.071 GB, free: 155.3 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/2.849, allocations: 0.5004 MB / 1.071 GB, free: 155.3 MB / 0.5452 GB Notification: Performance of SimCode: time 1.172e-06/2.849, allocations: 4 kB / 1.071 GB, free: 155.3 MB / 0.5452 GB Notification: Performance of Templates: time 0.1499/2.999, allocations: 93.13 MB / 1.162 GB, free: 84.48 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)