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.000976/0.000976, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.121/1.121, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.00154/0.00154, allocations: 123 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07809, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.3126, allocations: 97.97 MB / 453 MB, free: 7.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3128, allocations: 101.9 kB / 453.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.44/2.752, allocations: 0.8219 GB / 1.264 GB, free: 28.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.815e-06/2.753, allocations: 4 kB / 1.264 GB, free: 28.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009013/2.753, allocations: 400.4 kB / 1.265 GB, free: 28.18 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.05815/2.812, allocations: 17.08 MB / 1.281 GB, free: 23.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/2.812, allocations: 7.406 kB / 1.281 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04429/2.856, allocations: 8.685 MB / 1.29 GB, free: 20.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03158/2.888, allocations: 11.94 MB / 1.302 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002351/2.89, allocations: 1.339 MB / 1.303 GB, free: 9.465 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009001/2.899, allocations: 1.719 MB / 1.305 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3242/3.223, allocations: 32.17 MB / 1.336 GB, free: 28.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005576/3.224, allocations: 14.91 kB / 1.336 GB, free: 28.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004999/3.229, allocations: 0.7418 MB / 1.337 GB, free: 28.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/3.23, allocations: 1.254 MB / 1.338 GB, free: 28.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05097/3.281, allocations: 28.12 MB / 1.365 GB, free: 28.22 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1673/3.449, allocations: 96.59 MB / 1.46 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05472/3.503, allocations: 35.57 MB / 1.495 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3354/3.839, allocations: 47.04 MB / 1.54 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.761e-05/3.839, allocations: 151.4 kB / 1.541 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1456): time 1.643e-05/3.839, allocations: 1.969 kB / 1.541 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1456): time 0.2241/4.063, allocations: 93.79 MB / 1.632 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/4.063, allocations: 197.1 kB / 1.632 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/4.069, allocations: 3.953 MB / 1.636 GB, free: 50.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002543/4.072, allocations: 205.7 kB / 1.636 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002755/4.074, allocations: 6.101 MB / 1.642 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005241/4.08, allocations: 4.776 MB / 1.647 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/4.081, allocations: 232 kB / 1.647 GB, free: 41.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009113/4.082, allocations: 0.8954 MB / 1.648 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01282/4.095, allocations: 9.903 MB / 1.658 GB, free: 32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01523/4.11, allocations: 12.31 MB / 1.67 GB, free: 20.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/4.125, allocations: 11.94 MB / 1.682 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-05/4.126, allocations: 16 kB / 1.682 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.2921/4.418, allocations: 28.81 MB / 1.71 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/4.418, allocations: 32.45 kB / 1.71 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/4.418, allocations: 62.81 kB / 1.71 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01781/4.436, allocations: 10.71 MB / 1.72 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008735/4.445, allocations: 1.928 MB / 1.722 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/4.469, allocations: 21.57 MB / 1.743 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008728/4.478, allocations: 1.418 MB / 1.745 GB, free: 66.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002824/4.481, allocations: 0.5234 MB / 1.745 GB, free: 66.42 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1052): * Single equations (assignments): 899 * 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 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01484/4.496, allocations: 7.211 MB / 1.752 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003574/4.499, allocations: 0.7289 MB / 1.753 GB, free: 65.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0507/4.55, allocations: 28.11 MB / 1.78 GB, free: 61.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04183/4.592, allocations: 25.56 MB / 1.805 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/4.592, allocations: 0 / 1.805 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001576/4.592, allocations: 56.58 kB / 1.805 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08297/4.675, allocations: 52.3 MB / 1.856 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.682e-05/4.675, allocations: 0 / 1.856 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006121/4.681, allocations: 1.34 MB / 1.858 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01653/4.698, allocations: 10.64 MB / 1.868 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002335/4.7, allocations: 298 kB / 1.868 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2787/4.979, allocations: 22.16 MB / 1.89 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/4.979, allocations: 0.6875 kB / 1.89 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06028/5.039, allocations: 41.6 MB / 1.931 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008487/5.048, allocations: 3.137 MB / 1.934 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002545/5.05, allocations: 184.2 kB / 1.934 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005789/5.056, allocations: 0.5026 MB / 1.934 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003084/5.059, allocations: 1.067 MB / 1.935 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001737/5.061, allocations: 372.8 kB / 1.936 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005303/5.066, allocations: 2.969 MB / 1.939 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/5.066, allocations: 1.969 kB / 1.939 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01348/5.08, allocations: 4.356 MB / 1.943 GB, free: 85.57 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (746): * Single equations (assignments): 593 * 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 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002561/5.082, allocations: 448.9 kB / 1.943 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03468/5.117, allocations: 23.81 MB / 1.967 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/5.117, allocations: 2.156 kB / 1.967 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02051/5.138, allocations: 12.33 MB / 1.979 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007982/5.146, allocations: 1.379 MB / 1.98 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05611/5.202, allocations: 47.13 MB / 2.026 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/5.213, allocations: 12.31 MB / 2.038 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008059/5.222, allocations: 2.758 MB / 2.041 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/5.223, allocations: 486.2 kB / 2.041 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/5.223, allocations: 0 / 2.041 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.8803/6.103, allocations: 231 MB / 2.267 GB, free: 92.59 MB / 0.5417 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)