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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001731/0.001732, allocations: 182.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.508/1.508, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001768/0.001768, allocations: 128.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.736e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08493, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4236, allocations: 97.89 MB / 447.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.4239, allocations: 88.5 kB / 447.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.069/3.493, allocations: 0.8214 GB / 1.258 GB, free: 28.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.895e-06/3.493, allocations: 0 / 1.258 GB, free: 28.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001954/3.495, allocations: 400 kB / 1.259 GB, free: 28.23 MB / 458.7 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.06049/3.556, allocations: 16.49 MB / 1.275 GB, free: 23.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/3.556, allocations: 11.16 kB / 1.275 GB, free: 23.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04543/3.601, allocations: 8.637 MB / 1.283 GB, free: 22.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04255/3.644, allocations: 11.93 MB / 1.295 GB, free: 20.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001938/3.646, allocations: 1.335 MB / 1.296 GB, free: 20.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009206/3.655, allocations: 1.717 MB / 1.298 GB, free: 19.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1477/3.803, allocations: 32.33 MB / 1.329 GB, free: 8.516 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001017/3.804, allocations: 23.28 kB / 1.329 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007959/3.812, allocations: 0.7382 MB / 1.33 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/3.814, allocations: 1.256 MB / 1.331 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4395/4.253, allocations: 27.73 MB / 1.358 GB, free: 46.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2098/4.463, allocations: 96.59 MB / 1.453 GB, free: 20.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04185/4.505, allocations: 33.87 MB / 1.486 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03123/4.536, allocations: 15.12 MB / 1.501 GB, free: 2.168 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5014/5.038, allocations: 48 MB / 1.548 GB, free: 74.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/5.038, allocations: 148.8 kB / 1.548 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1454): time 1.958e-05/5.038, allocations: 2.125 kB / 1.548 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1454): time 0.05125/5.089, allocations: 25.46 MB / 1.573 GB, free: 73.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/5.09, allocations: 195.3 kB / 1.573 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007325/5.097, allocations: 3.914 MB / 1.577 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003394/5.1, allocations: 199.9 kB / 1.577 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004974/5.105, allocations: 6.107 MB / 1.583 GB, free: 70.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008191/5.114, allocations: 4.764 MB / 1.587 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003566/5.117, allocations: 235.8 kB / 1.588 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001508/5.119, allocations: 0.9006 MB / 1.588 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01596/5.135, allocations: 9.807 MB / 1.598 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01937/5.154, allocations: 12.23 MB / 1.61 GB, free: 60.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/5.177, allocations: 11.87 MB / 1.622 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/5.177, allocations: 24.47 kB / 1.622 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.06128/5.239, allocations: 28.46 MB / 1.649 GB, free: 44.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/5.239, allocations: 28.84 kB / 1.649 GB, free: 44.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/5.239, allocations: 63.31 kB / 1.649 GB, free: 44.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01966/5.259, allocations: 10.42 MB / 1.66 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009125/5.268, allocations: 1.947 MB / 1.662 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/5.292, allocations: 21.21 MB / 1.682 GB, free: 17.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/5.303, allocations: 1.414 MB / 1.684 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004478/5.308, allocations: 0.5281 MB / 1.684 GB, free: 15.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.007185/5.315, allocations: 0.7012 MB / 1.685 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003936/5.319, allocations: 0.7249 MB / 1.686 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5538/5.873, allocations: 29.37 MB / 1.714 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05171/5.925, allocations: 25.33 MB / 1.739 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/5.925, allocations: 4.453 kB / 1.739 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002606/5.925, allocations: 53.3 kB / 1.739 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.119/6.044, allocations: 52.11 MB / 1.79 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002016/6.044, allocations: 0 / 1.79 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007075/6.051, allocations: 1.351 MB / 1.791 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02207/6.074, allocations: 10.3 MB / 1.801 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004121/6.078, allocations: 299.5 kB / 1.802 GB, free: 60.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/6.108, allocations: 21.09 MB / 1.822 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/6.108, allocations: 0 / 1.822 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0778/6.186, allocations: 41.3 MB / 1.862 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009754/6.196, allocations: 3.136 MB / 1.866 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005737/6.201, allocations: 186.3 kB / 1.866 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008298/6.21, allocations: 0.5025 MB / 1.866 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004591/6.214, allocations: 1.065 MB / 1.867 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003391/6.218, allocations: 372 kB / 1.868 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0052/6.223, allocations: 2.928 MB / 1.87 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/6.223, allocations: 6.25 kB / 1.87 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0188/6.242, allocations: 4.356 MB / 1.875 GB, free: 6.828 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003784/6.246, allocations: 455.8 kB / 1.875 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.4471/6.693, allocations: 26.04 MB / 1.901 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/6.693, allocations: 2.688 kB / 1.901 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02684/6.72, allocations: 12.21 MB / 1.913 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/6.731, allocations: 1.37 MB / 1.914 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07811/6.809, allocations: 35.83 MB / 1.949 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02407/6.833, allocations: 12.32 MB / 1.961 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01232/6.846, allocations: 2.794 MB / 1.964 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/6.85, allocations: 490.9 kB / 1.964 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/6.85, allocations: 3.875 kB / 1.964 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.6746/7.525, allocations: 211.5 MB / 2.171 GB, free: 76.61 MB / 0.5105 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)