Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.137/1.137, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.001536/0.001536, allocations: 121 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002736, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07061/0.07089, allocations: 44.49 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.2813, allocations: 76.87 MB / 431.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.2815, allocations: 84.14 kB / 432 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.3015, allocations: 9.749 MB / 441.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3015, allocations: 0 / 441.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.3015, allocations: 4 kB / 441.8 MB, free: 4.781 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000963/0.3025, allocations: 0.6777 MB / 442.4 MB, free: 4.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3025, allocations: 8.031 kB / 442.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.303, allocations: 91.3 kB / 442.5 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3033, allocations: 298.7 kB / 442.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3034, allocations: 29.17 kB / 442.9 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.3034, allocations: 37.84 kB / 442.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.3039, allocations: 351.4 kB / 443.2 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3039, allocations: 4 kB / 443.2 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.3039, allocations: 17.19 kB / 443.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3039, allocations: 8 kB / 443.3 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.3044, allocations: 245.8 kB / 443.5 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.306, allocations: 1.337 MB / 444.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.3063, allocations: 204.7 kB / 445 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006386/0.307, allocations: 0.8687 MB / 445.9 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.307, allocations: 37.75 kB / 445.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.307, allocations: 0.5625 kB / 445.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004868/0.3075, allocations: 233.8 kB / 446.2 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3076, allocations: 85.09 kB / 446.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3078, allocations: 246.1 kB / 446.5 MB, free: 380 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3078, allocations: 33.7 kB / 446.5 MB, free: 340 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.3079, allocations: 243.5 kB / 446.8 MB, free: 92 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3079, allocations: 56.2 kB / 446.8 MB, free: 36 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.308, allocations: 8 kB / 446.8 MB, free: 28 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3081, allocations: 334.8 kB / 447.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3083, allocations: 72.61 kB / 447.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3086, allocations: 198.4 kB / 447.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3088, allocations: 108.9 kB / 447.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3088, allocations: 0 / 447.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005561/0.3094, allocations: 319.2 kB / 447.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3094, allocations: 8.031 kB / 447.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3095, allocations: 14.52 kB / 447.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.3095, allocations: 8 kB / 447.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.3098, allocations: 81.05 kB / 447.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.3098, allocations: 8 kB / 448 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.31, allocations: 51.52 kB / 448 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3101, allocations: 12 kB / 448 MB, free: 14.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.3102, allocations: 157.7 kB / 448.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.3103, allocations: 23.72 kB / 448.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.3104, allocations: 29.73 kB / 448.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3104, allocations: 7.953 kB / 448.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3104, allocations: 0 / 448.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3104, allocations: 0 / 448.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.3111, allocations: 0.5186 MB / 448.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3111, allocations: 0 / 448.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3114, allocations: 43.98 kB / 448.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3114, allocations: 8.453 kB / 448.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.3114, allocations: 7.984 kB / 448.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3114, allocations: 3.938 kB / 448.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3114, allocations: 1.75 kB / 448.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.312, allocations: 462.8 kB / 449.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.3121, allocations: 108.7 kB / 449.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.3122, allocations: 5.406 kB / 449.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3124, allocations: 19.98 kB / 449.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3125, allocations: 7.984 kB / 449.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3125, allocations: 7.984 kB / 449.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3127, allocations: 202 kB / 449.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.567e-06/0.3128, allocations: 0 / 449.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004292/0.3132, allocations: 83.78 kB / 449.7 MB, free: 12.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.3134, allocations: 111.2 kB / 449.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.3138, allocations: 193.3 kB / 450 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3138, allocations: 4.375 kB / 450 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.314, allocations: 71.91 kB / 450.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3143, allocations: 35.34 kB / 450.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3156, allocations: 0.8151 MB / 450.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3159, allocations: 0.7794 MB / 451.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.3161, allocations: 34.95 kB / 451.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3161, allocations: 19.44 kB / 451.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3162, allocations: 4 kB / 451.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of Templates: time 0.005261/0.3214, allocations: 2.187 MB / 453.9 MB, free: 8.734 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)