Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005649/0.005649, allocations: 166.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.506/1.506, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00177/0.001769, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003245, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2304, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3348, allocations: 77.33 MB / 390.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.3351, allocations: 83.95 kB / 390.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3414/0.6765, allocations: 51.71 MB / 442 MB, free: 71.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6766, allocations: 0 / 442 MB, free: 71.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.6767, allocations: 60.52 kB / 442.1 MB, free: 71.88 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.007987/0.6847, allocations: 2.892 MB / 445 MB, free: 70.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6848, allocations: 7.812 kB / 445 MB, free: 70.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.6863, allocations: 426.6 kB / 445.4 MB, free: 70.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.6897, allocations: 1.749 MB / 447.1 MB, free: 69.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.6898, allocations: 185.8 kB / 447.3 MB, free: 69.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.6902, allocations: 251.5 kB / 447.6 MB, free: 69.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/0.6951, allocations: 3.303 MB / 450.9 MB, free: 67.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.6952, allocations: 0 / 450.9 MB, free: 67.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.6954, allocations: 105.7 kB / 451 MB, free: 67.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.6955, allocations: 102.5 kB / 451.1 MB, free: 67.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.6994, allocations: 2.582 MB / 453.7 MB, free: 66.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.7136, allocations: 9.763 MB / 463.4 MB, free: 57.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.7151, allocations: 1.506 MB / 464.9 MB, free: 56.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.7152, allocations: 8.766 kB / 464.9 MB, free: 56.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.7152, allocations: 46.64 kB / 465 MB, free: 56.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 3.636e-06/0.7152, allocations: 0 / 465 MB, free: 56.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.005139/0.7204, allocations: 2.524 MB / 467.5 MB, free: 53.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.7204, allocations: 89.55 kB / 467.6 MB, free: 53.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.722, allocations: 1.2 MB / 468.8 MB, free: 52.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.7221, allocations: 41.7 kB / 468.8 MB, free: 52.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.7226, allocations: 1.121 MB / 469.9 MB, free: 51.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.7228, allocations: 311.3 kB / 470.3 MB, free: 50.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.7229, allocations: 20 kB / 470.3 MB, free: 50.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.723, allocations: 345.9 kB / 470.6 MB, free: 50.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.7236, allocations: 0.5256 MB / 471.1 MB, free: 49.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.7244, allocations: 0.749 MB / 471.9 MB, free: 49.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.7252, allocations: 0.6422 MB / 472.5 MB, free: 48.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.7252, allocations: 4 kB / 472.5 MB, free: 48.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002541/0.7278, allocations: 1.811 MB / 474.3 MB, free: 46.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.7278, allocations: 8 kB / 474.4 MB, free: 46.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.7278, allocations: 8 kB / 474.4 MB, free: 46.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009063/0.7288, allocations: 403.3 kB / 474.8 MB, free: 46.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.7295, allocations: 175.8 kB / 474.9 MB, free: 46.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/0.7356, allocations: 6.286 MB / 481.2 MB, free: 39.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.737, allocations: 127 kB / 481.3 MB, free: 39.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.7371, allocations: 38.25 kB / 481.4 MB, free: 39.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001761/0.7389, allocations: 0.8408 MB / 482.2 MB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.7392, allocations: 134.4 kB / 482.3 MB, free: 38.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.7395, allocations: 163.6 kB / 482.5 MB, free: 38.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7396, allocations: 16 kB / 482.5 MB, free: 38.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.03e-05/0.7396, allocations: 7.938 kB / 482.5 MB, free: 38.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7396, allocations: 3.984 kB / 482.5 MB, free: 38.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005953/0.7456, allocations: 3.773 MB / 486.3 MB, free: 34.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7456, allocations: 8.188 kB / 486.3 MB, free: 34.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.7461, allocations: 107.8 kB / 486.4 MB, free: 34.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/0.7469, allocations: 393.1 kB / 486.8 MB, free: 33.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.747, allocations: 31.98 kB / 486.8 MB, free: 33.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/0.753, allocations: 6.209 MB / 493 MB, free: 27.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.753, allocations: 0 / 493 MB, free: 27.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.7561, allocations: 2.423 MB / 495.5 MB, free: 24.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007731/0.7569, allocations: 343.3 kB / 495.8 MB, free: 24.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.7571, allocations: 35.05 kB / 495.8 MB, free: 24.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006874/0.7578, allocations: 91.92 kB / 495.9 MB, free: 24.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.758, allocations: 91.67 kB / 496 MB, free: 24.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.758, allocations: 27.98 kB / 496 MB, free: 24.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.7592, allocations: 0.9394 MB / 497 MB, free: 23.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7592, allocations: 0 / 497 MB, free: 23.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001816/0.761, allocations: 0.6376 MB / 497.6 MB, free: 22.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.7613, allocations: 150.9 kB / 497.8 MB, free: 22.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.7637, allocations: 1.646 MB / 499.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7638, allocations: 4 kB / 499.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.7652, allocations: 1.065 MB / 0.4888 GB, free: 19.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.7666, allocations: 269.3 kB / 0.489 GB, free: 19.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/0.7738, allocations: 5.266 MB / 0.4941 GB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.7755, allocations: 2.178 MB / 0.4963 GB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.7765, allocations: 282.1 kB / 0.4965 GB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.7767, allocations: 71.42 kB / 0.4966 GB, free: 11.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7767, allocations: 0 / 0.4966 GB, free: 11.66 MB / 314.7 MB Notification: Performance of Templates: time 0.03293/0.8097, allocations: 18.24 MB / 0.5144 GB, free: 9.469 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)