Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008857/0.0008858, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 224.2 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007414/0.0007413, allocations: 93.48 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.2912, allocations: 102.4 MB / 479.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.2915, allocations: 87.95 kB / 479.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.377/2.668, allocations: 0.8121 GB / 1.28 GB, free: 37.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.668, allocations: 4 kB / 1.28 GB, free: 37.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009942/2.669, allocations: 397.2 kB / 1.281 GB, free: 37.41 MB / 490.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.05281/2.722, allocations: 16.9 MB / 1.297 GB, free: 32.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/2.722, allocations: 10.75 kB / 1.297 GB, free: 32.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04444/2.767, allocations: 8.692 MB / 1.306 GB, free: 30.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/2.791, allocations: 12.06 MB / 1.317 GB, free: 20.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001562/2.793, allocations: 1.347 MB / 1.319 GB, free: 19.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006674/2.8, allocations: 1.717 MB / 1.32 GB, free: 17.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3251/3.125, allocations: 32.32 MB / 1.352 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006206/3.125, allocations: 17.59 kB / 1.352 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005341/3.131, allocations: 0.7446 MB / 1.353 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/3.132, allocations: 1.251 MB / 1.354 GB, free: 33.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05453/3.186, allocations: 28.11 MB / 1.381 GB, free: 33.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1585/3.345, allocations: 96.72 MB / 1.476 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04697/3.392, allocations: 34.67 MB / 1.51 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02674/3.419, allocations: 15.23 MB / 1.525 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.348/3.767, allocations: 47.29 MB / 1.571 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/3.767, allocations: 148.9 kB / 1.571 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1454): time 1.579e-05/3.767, allocations: 3.062 kB / 1.571 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1454): time 0.2174/3.984, allocations: 79.24 MB / 1.648 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/3.985, allocations: 191.3 kB / 1.649 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/3.99, allocations: 4.416 MB / 1.653 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001813/3.992, allocations: 205.4 kB / 1.653 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/3.995, allocations: 6.108 MB / 1.659 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0047/4, allocations: 4.765 MB / 1.664 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/4.001, allocations: 229.6 kB / 1.664 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000974/4.002, allocations: 0.9026 MB / 1.665 GB, free: 70.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0125/4.014, allocations: 9.906 MB / 1.674 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/4.03, allocations: 12.36 MB / 1.687 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03072/4.06, allocations: 23.33 MB / 1.709 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-05/4.06, allocations: 20 kB / 1.709 GB, free: 36.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.3118/4.372, allocations: 29.79 MB / 1.738 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.851e-05/4.372, allocations: 37.5 kB / 1.738 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/4.373, allocations: 57.81 kB / 1.739 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/4.389, allocations: 10.48 MB / 1.749 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007935/4.397, allocations: 1.954 MB / 1.751 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/4.42, allocations: 21.28 MB / 1.771 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007928/4.428, allocations: 1.415 MB / 1.773 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/4.43, allocations: 0.5223 MB / 1.773 GB, free: 72.01 MB / 0.5261 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 (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.01423/4.445, allocations: 7.215 MB / 1.78 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/4.447, allocations: 0.7281 MB / 1.781 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04503/4.492, allocations: 27.96 MB / 1.808 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03951/4.531, allocations: 25.52 MB / 1.833 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/4.531, allocations: 2.469 kB / 1.833 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001627/4.532, allocations: 59.16 kB / 1.833 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08619/4.618, allocations: 52.31 MB / 1.884 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001447/4.618, allocations: 1.656 kB / 1.884 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006234/4.624, allocations: 1.355 MB / 1.886 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01749/4.642, allocations: 10.37 MB / 1.896 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002615/4.644, allocations: 295.7 kB / 1.896 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02468/4.669, allocations: 21.17 MB / 1.917 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/4.669, allocations: 0 / 1.917 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3279/4.997, allocations: 41.65 MB / 1.958 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007598/5.005, allocations: 3.15 MB / 1.961 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/5.007, allocations: 184.9 kB / 1.961 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004437/5.011, allocations: 0.5056 MB / 1.961 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/5.013, allocations: 1.063 MB / 1.962 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009344/5.014, allocations: 375.3 kB / 1.963 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004413/5.019, allocations: 2.97 MB / 1.966 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/5.019, allocations: 0 / 1.966 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01246/5.031, allocations: 4.361 MB / 1.97 GB, free: 80 MB / 0.5261 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 (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.001991/5.033, allocations: 450.7 kB / 1.97 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03701/5.07, allocations: 23.78 MB / 1.993 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/5.07, allocations: 3.625 kB / 1.993 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02099/5.091, allocations: 12.29 MB / 2.005 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/5.102, allocations: 1.538 MB / 2.007 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07191/5.174, allocations: 46.39 MB / 2.052 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01916/5.193, allocations: 12.03 MB / 2.064 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01096/5.204, allocations: 2.792 MB / 2.067 GB, free: 45.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/5.207, allocations: 499.3 kB / 2.067 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/5.207, allocations: 2.812 kB / 2.067 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.5803/5.787, allocations: 231 MB / 2.293 GB, free: 10.29 MB / 0.5417 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)