Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 222 MB, free: 5.016 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 47.88 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2202, allocations: 46.63 MB / 324.7 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004746/0.225, allocations: 3.267 MB / 327.9 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2277, allocations: 1.336 MB / 329.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.2281, allocations: 10.78 kB / 329.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.2286, allocations: 121.4 kB / 329.4 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.2297, allocations: 331 kB / 329.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.2303, allocations: 248.8 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007299/0.231, allocations: 425.1 kB / 330.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.2313, allocations: 130.2 kB / 330.5 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.2316, allocations: 153.6 kB / 330.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.232, allocations: 191.1 kB / 330.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.2321, allocations: 29.84 kB / 330.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.2325, allocations: 145.9 kB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.2325, allocations: 82.64 kB / 331.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.2328, allocations: 178.9 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007287/0.2335, allocations: 0.5181 MB / 331.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2335, allocations: 0 / 331.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2335, allocations: 1.094 kB / 331.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.2335, allocations: 0 / 331.8 MB, free: 12.53 MB / 270.1 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.001647/0.2352, allocations: 0.7376 MB / 332.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2352, allocations: 13.34 kB / 332.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/0.2359, allocations: 100.2 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.2365, allocations: 303.9 kB / 332.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.2365, allocations: 27.22 kB / 333 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.2366, allocations: 42.27 kB / 333 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.2373, allocations: 357.3 kB / 333.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2373, allocations: 0 / 333.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.2373, allocations: 11.31 kB / 333.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2374, allocations: 7.406 kB / 333.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.238, allocations: 245.5 kB / 333.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.2403, allocations: 1.319 MB / 334.9 MB, free: 9.699 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.2407, allocations: 197.1 kB / 335.1 MB, free: 9.488 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2409, allocations: 85.67 kB / 335.2 MB, free: 9.398 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008631/0.2418, allocations: 0.8713 MB / 336.1 MB, free: 8.426 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2418, allocations: 38.56 kB / 336.1 MB, free: 8.379 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2418, allocations: 0 / 336.1 MB, free: 8.379 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005377/0.2423, allocations: 233.2 kB / 336.4 MB, free: 8.145 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.2424, allocations: 81.05 kB / 336.4 MB, free: 8.047 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.2427, allocations: 283.1 kB / 336.7 MB, free: 7.766 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.2427, allocations: 29.7 kB / 336.7 MB, free: 7.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.2429, allocations: 235.4 kB / 337 MB, free: 7.496 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.243, allocations: 59.19 kB / 337 MB, free: 7.438 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.2431, allocations: 61.94 kB / 337.1 MB, free: 7.371 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2433, allocations: 342.8 kB / 337.4 MB, free: 7.027 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2434, allocations: 68.61 kB / 337.5 MB, free: 6.961 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.2437, allocations: 202.3 kB / 337.7 MB, free: 6.703 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.2442, allocations: 296.8 kB / 338 MB, free: 6.352 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2442, allocations: 0 / 338 MB, free: 6.352 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005249/0.2448, allocations: 320.8 kB / 338.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2448, allocations: 8.562 kB / 338.3 MB, free: 6.023 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2448, allocations: 8 kB / 338.3 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2448, allocations: 4 kB / 338.3 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.2451, allocations: 87.83 kB / 338.4 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2451, allocations: 7.938 kB / 338.4 MB, free: 5.918 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.2454, allocations: 43.61 kB / 338.4 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2454, allocations: 12 kB / 338.5 MB, free: 5.863 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.2455, allocations: 153.7 kB / 338.6 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.2456, allocations: 27.72 kB / 338.6 MB, free: 5.676 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.2457, allocations: 29.73 kB / 338.7 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.2457, allocations: 7.938 kB / 338.7 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2457, allocations: 0 / 338.7 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2457, allocations: 0 / 338.7 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.2464, allocations: 0.511 MB / 339.2 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2464, allocations: 3.984 kB / 339.2 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2466, allocations: 51.89 kB / 339.2 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2466, allocations: 4 kB / 339.2 MB, free: 5.008 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2466, allocations: 3.984 kB / 339.2 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2466, allocations: 4 kB / 339.3 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2467, allocations: 0 / 339.3 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.2472, allocations: 423.2 kB / 339.7 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.2474, allocations: 104.7 kB / 339.8 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2474, allocations: 8 kB / 339.8 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2476, allocations: 15.98 kB / 339.8 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.2477, allocations: 7.984 kB / 339.8 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2477, allocations: 7.984 kB / 339.8 MB, free: 4.406 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.248, allocations: 206 kB / 340 MB, free: 4.203 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.248, allocations: 0 / 340 MB, free: 4.203 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000469/0.2485, allocations: 79.78 kB / 340.1 MB, free: 4.125 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.2487, allocations: 107.2 kB / 340.2 MB, free: 4.012 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.2492, allocations: 191.6 kB / 340.4 MB, free: 3.824 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2492, allocations: 0 / 340.4 MB, free: 3.824 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.2494, allocations: 69.09 kB / 340.4 MB, free: 3.758 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.2499, allocations: 32.81 kB / 340.5 MB, free: 3.727 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2512, allocations: 0.7853 MB / 341.3 MB, free: 2.914 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.2515, allocations: 0.7757 MB / 342 MB, free: 2.113 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.2516, allocations: 34.95 kB / 342.1 MB, free: 2.078 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.2517, allocations: 27.44 kB / 342.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2517, allocations: 0 / 342.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of Templates: time 0.005378/0.2571, allocations: 2.184 MB / 344.3 MB, free: 15.87 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)