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.007346/0.007346, allocations: 101 kB / 15.73 MB, free: 6.441 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.001634/0.001634, allocations: 195.8 kB / 16.68 MB, free: 6.355 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001134/0.001134, allocations: 50.23 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.0964, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007709/0.1042, allocations: 6.441 MB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.109, allocations: 2.593 MB / 382.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.1097, allocations: 20 kB / 382.2 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.1124, allocations: 1.279 MB / 383.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.1141, allocations: 0.7107 MB / 384.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.1162, allocations: 1.102 MB / 385.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1175, allocations: 1.098 MB / 386.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1188, allocations: 0.9031 MB / 387.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.1194, allocations: 454.2 kB / 387.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.1202, allocations: 0.5563 MB / 388.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.1204, allocations: 96 kB / 388.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.1213, allocations: 411.6 kB / 388.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.1216, allocations: 235.1 kB / 389 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.1223, allocations: 0.5364 MB / 389.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.1241, allocations: 1.515 MB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1241, allocations: 4 kB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1241, allocations: 0 / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.1242, allocations: 0 / 391.1 MB, free: 15.29 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.004706/0.1289, allocations: 1.648 MB / 392.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1289, allocations: 16.02 kB / 392.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.133, allocations: 0.5694 MB / 393.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.1338, allocations: 0.4902 MB / 393.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.1339, allocations: 90.3 kB / 393.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.1341, allocations: 115.9 kB / 394 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.1361, allocations: 1.007 MB / 395 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.1362, allocations: 8 kB / 395 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.1363, allocations: 48 kB / 395.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.1363, allocations: 28 kB / 395.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.1383, allocations: 1.032 MB / 396.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/0.1444, allocations: 3.827 MB / 400 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.1467, allocations: 2.06 MB / 402 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.1475, allocations: 447.4 kB / 402.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.1477, allocations: 106.2 kB / 402.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.1485, allocations: 482.3 kB / 403 MB, free: 2.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.535e-06/0.1485, allocations: 0 / 403 MB, free: 2.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.008876/0.1574, allocations: 4.021 MB / 407.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.1575, allocations: 145.5 kB / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.158, allocations: 417.7 kB / 407.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.1581, allocations: 45.7 kB / 407.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.1584, allocations: 443.4 kB / 408.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.1587, allocations: 429.6 kB / 408.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.159, allocations: 218.8 kB / 408.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1591, allocations: 378.7 kB / 409.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.1599, allocations: 362.5 kB / 409.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.1608, allocations: 0.5915 MB / 410 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.1624, allocations: 0.997 MB / 411 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1624, allocations: 0 / 411 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002621/0.1651, allocations: 1.444 MB / 412.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1651, allocations: 8 kB / 412.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.1651, allocations: 8 kB / 412.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/0.166, allocations: 347.1 kB / 412.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.1669, allocations: 231.6 kB / 413.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/0.1747, allocations: 8.477 MB / 421.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.1755, allocations: 52.05 kB / 421.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.1757, allocations: 51.98 kB / 421.6 MB, free: 15.11 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.0004777/0.1761, allocations: 261.5 kB / 421.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.1763, allocations: 79.06 kB / 422 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.1789, allocations: 1.321 MB / 423.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.179, allocations: 12 kB / 423.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.179, allocations: 11.94 kB / 423.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.179, allocations: 11.97 kB / 423.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.1833, allocations: 2.549 MB / 425.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1834, allocations: 0 / 425.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/0.1841, allocations: 151.8 kB / 426 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008001/0.1849, allocations: 335.3 kB / 426.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.185, allocations: 31.98 kB / 426.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007619/0.1926, allocations: 8.108 MB / 434.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1926, allocations: 4.062 kB / 434.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.1961, allocations: 1.841 MB / 436.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.1964, allocations: 228.1 kB / 436.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.1966, allocations: 31.94 kB / 436.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.1972, allocations: 35.98 kB / 436.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.1974, allocations: 104.8 kB / 436.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.1975, allocations: 35.98 kB / 436.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.1979, allocations: 279.2 kB / 437 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1979, allocations: 0 / 437 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001324/0.1992, allocations: 316 kB / 437.3 MB, free: 14.65 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.0003269/0.1995, allocations: 179 kB / 437.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.2025, allocations: 1.648 MB / 439.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.2025, allocations: 0.5 kB / 439.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.2042, allocations: 1.15 MB / 440.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.2048, allocations: 73.55 kB / 440.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.2087, allocations: 1.968 MB / 442.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.2094, allocations: 1.028 MB / 443.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004896/0.2099, allocations: 110.4 kB / 443.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.2101, allocations: 55.42 kB / 443.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2101, allocations: 4 kB / 443.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of Templates: time 0.2097/0.4199, allocations: 11.26 MB / 454.8 MB, free: 68.67 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)