Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008454/0.008454, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.002055/0.002055, allocations: 195.5 kB / 16.68 MB, free: 6.375 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.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001137/0.001137, allocations: 44.56 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09987, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007867/0.1078, allocations: 6.453 MB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.1128, allocations: 2.593 MB / 382.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/0.1135, allocations: 20 kB / 382.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.1164, allocations: 1.271 MB / 383.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.1185, allocations: 0.7146 MB / 384.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1207, allocations: 1.098 MB / 385.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.122, allocations: 1.098 MB / 386.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.1232, allocations: 0.8953 MB / 387.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.1237, allocations: 454.3 kB / 387.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.1244, allocations: 0.5602 MB / 388.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.1245, allocations: 96 kB / 388.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009236/0.1255, allocations: 411.7 kB / 388.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.1257, allocations: 235.1 kB / 389 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.1262, allocations: 0.5286 MB / 389.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.128, allocations: 1.529 MB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.128, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.128, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.128, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004175/0.1322, allocations: 1.685 MB / 392.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1322, allocations: 12.03 kB / 392.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003934/0.1362, allocations: 0.57 MB / 393.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.137, allocations: 0.4982 MB / 393.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.1371, allocations: 98.23 kB / 394 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.1372, allocations: 112 kB / 394.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.1392, allocations: 1.007 MB / 395.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.1392, allocations: 4 kB / 395.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1393, allocations: 47.98 kB / 395.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.1394, allocations: 28 kB / 395.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.1413, allocations: 1.028 MB / 396.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.1473, allocations: 3.848 MB / 400 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.1496, allocations: 2.056 MB / 402.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007736/0.1504, allocations: 443.5 kB / 402.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1505, allocations: 102.2 kB / 402.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008915/0.1514, allocations: 482.4 kB / 403.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.617e-06/0.1515, allocations: 0 / 403.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009169/0.1606, allocations: 4.047 MB / 407.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.1608, allocations: 145.5 kB / 407.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.1614, allocations: 409.9 kB / 407.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/0.1615, allocations: 49.64 kB / 407.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.1619, allocations: 456.9 kB / 408.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.1622, allocations: 452.1 kB / 408.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.1626, allocations: 222.9 kB / 408.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1628, allocations: 386.7 kB / 409.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.1635, allocations: 362.4 kB / 409.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.1644, allocations: 0.5876 MB / 410.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.1659, allocations: 1.005 MB / 411.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1659, allocations: 0 / 411.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002491/0.1684, allocations: 1.437 MB / 412.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.1685, allocations: 11.94 kB / 412.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.1685, allocations: 8 kB / 412.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008591/0.1694, allocations: 347.1 kB / 412.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.1702, allocations: 219.7 kB / 413.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007962/0.1782, allocations: 8.501 MB / 421.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.179, allocations: 51.94 kB / 421.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.1791, allocations: 44 kB / 421.8 MB, free: 15.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004878/0.1796, allocations: 269.6 kB / 422 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1797, allocations: 75.53 kB / 422.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.1822, allocations: 1.329 MB / 423.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1822, allocations: 12 kB / 423.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.1822, allocations: 7.938 kB / 423.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.1823, allocations: 11.97 kB / 423.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/0.1864, allocations: 2.546 MB / 426 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.1865, allocations: 0 / 426 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.1871, allocations: 155.8 kB / 426.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/0.1879, allocations: 335.2 kB / 426.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.188, allocations: 24 kB / 426.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.195, allocations: 8.124 MB / 434.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.195, allocations: 0 / 434.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.1982, allocations: 1.845 MB / 436.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.1985, allocations: 232.5 kB / 436.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.1986, allocations: 27.98 kB / 436.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.1991, allocations: 35.98 kB / 436.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.1993, allocations: 100.9 kB / 436.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.1994, allocations: 39.94 kB / 436.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.1997, allocations: 279.2 kB / 437.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1997, allocations: 0 / 437.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001146/0.2009, allocations: 323.9 kB / 437.5 MB, free: 14.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002664/0.2011, allocations: 178.9 kB / 437.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.2037, allocations: 1.647 MB / 439.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2037, allocations: 1.438 kB / 439.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.2052, allocations: 1.142 MB / 440.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.2057, allocations: 77.55 kB / 440.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.2092, allocations: 2.009 MB / 442.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.2098, allocations: 1.028 MB / 443.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.2102, allocations: 106.4 kB / 443.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2104, allocations: 59.42 kB / 443.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2104, allocations: 0 / 443.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of Templates: time 0.2092/0.4196, allocations: 11.26 MB / 455 MB, free: 69.09 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)