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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001232/0.001232, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.429/1.429, allocations: 205.1 MB / 223.7 MB, free: 12.33 MB / 190.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.00215/0.00215, allocations: 55.92 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1168, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.006518/0.1234, allocations: 3.228 MB / 329.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.1264, allocations: 1.348 MB / 331.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1267, allocations: 4 kB / 331.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.1273, allocations: 151 kB / 331.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1283, allocations: 358 kB / 331.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.1288, allocations: 263.1 kB / 332 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.1294, allocations: 438.2 kB / 332.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.1297, allocations: 152.2 kB / 332.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1299, allocations: 163.3 kB / 332.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1302, allocations: 203.1 kB / 332.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.1302, allocations: 36 kB / 332.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1306, allocations: 163.8 kB / 333.1 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.1307, allocations: 83.69 kB / 333.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1308, allocations: 195 kB / 333.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.1315, allocations: 0.5259 MB / 333.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1315, allocations: 0 / 333.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1315, allocations: 4 kB / 333.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1315, allocations: 0 / 333.9 MB, free: 13.17 MB / 286.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.001438/0.1329, allocations: 0.7371 MB / 334.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.133, allocations: 11.89 kB / 334.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.1336, allocations: 100.3 kB / 334.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.134, allocations: 312.4 kB / 335 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.134, allocations: 25.38 kB / 335.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.1341, allocations: 32.38 kB / 335.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.1347, allocations: 361.6 kB / 335.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1347, allocations: 0 / 335.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1348, allocations: 12 kB / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1348, allocations: 8 kB / 335.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.1353, allocations: 254.1 kB / 335.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1373, allocations: 1.319 MB / 337 MB, free: 9.812 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.1376, allocations: 193.2 kB / 337.2 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1378, allocations: 81.69 kB / 337.3 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008019/0.1386, allocations: 0.8791 MB / 338.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1387, allocations: 34.56 kB / 338.2 MB, free: 8.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1387, allocations: 0 / 338.2 MB, free: 8.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005687/0.1392, allocations: 221.6 kB / 338.4 MB, free: 8.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1393, allocations: 85.05 kB / 338.5 MB, free: 8.172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1396, allocations: 282.9 kB / 338.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1396, allocations: 29.7 kB / 338.8 MB, free: 7.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1398, allocations: 239.5 kB / 339.1 MB, free: 7.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1398, allocations: 63.11 kB / 339.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1399, allocations: 58.02 kB / 339.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1401, allocations: 342.8 kB / 339.5 MB, free: 7.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1403, allocations: 68.62 kB / 339.6 MB, free: 7.082 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.1406, allocations: 202.3 kB / 339.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.1412, allocations: 288.9 kB / 340.1 MB, free: 6.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1412, allocations: 3.938 kB / 340.1 MB, free: 6.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000765/0.142, allocations: 328.8 kB / 340.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.142, allocations: 8.562 kB / 340.4 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.142, allocations: 4 kB / 340.4 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1421, allocations: 8 kB / 340.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.1425, allocations: 91.97 kB / 340.5 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.1425, allocations: 7.984 kB / 340.5 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1428, allocations: 39.69 kB / 340.5 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.1429, allocations: 16 kB / 340.6 MB, free: 5.977 MB / 286.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.0002157/0.1431, allocations: 149.7 kB / 340.7 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.1432, allocations: 27.7 kB / 340.7 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.1433, allocations: 29.75 kB / 340.8 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1433, allocations: 11.92 kB / 340.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1433, allocations: 0 / 340.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1433, allocations: 0 / 340.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.1442, allocations: 0.5108 MB / 341.3 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1442, allocations: 0 / 341.3 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1445, allocations: 47.94 kB / 341.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1446, allocations: 4 kB / 341.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1446, allocations: 0 / 341.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1446, allocations: 4 kB / 341.3 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1446, allocations: 0 / 341.3 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.1454, allocations: 426.4 kB / 341.8 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1455, allocations: 112.7 kB / 341.9 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.1456, allocations: 8 kB / 341.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.1459, allocations: 15.98 kB / 341.9 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.146, allocations: 7.984 kB / 341.9 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.146, allocations: 4 kB / 341.9 MB, free: 4.527 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.1463, allocations: 202 kB / 342.1 MB, free: 4.328 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1463, allocations: 4.062 kB / 342.1 MB, free: 4.324 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007252/0.147, allocations: 79.75 kB / 342.2 MB, free: 4.246 MB / 286.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.0001904/0.1472, allocations: 111.3 kB / 342.3 MB, free: 4.129 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.1478, allocations: 203.5 kB / 342.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1478, allocations: 0 / 342.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.148, allocations: 71.91 kB / 342.6 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.1488, allocations: 38.12 kB / 342.6 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1505, allocations: 0.6391 MB / 343.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.1511, allocations: 0.7755 MB / 344 MB, free: 2.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002608/0.1514, allocations: 34.95 kB / 344 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.1515, allocations: 27.38 kB / 344.1 MB, free: 2.293 MB / 286.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1515, allocations: 4 kB / 344.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Templates: time 0.008878/0.1604, allocations: 2.317 MB / 346.4 MB, free: 15.98 MB / 302.1 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)