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.005381/0.005381, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001404/0.001404, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001444/0.001444, allocations: 49.83 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.0954, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008716/0.1042, allocations: 6.441 MB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005522/0.1097, allocations: 2.597 MB / 382.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000937/0.1107, allocations: 16 kB / 382.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.114, allocations: 1.283 MB / 383.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.1165, allocations: 0.7029 MB / 384.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.1188, allocations: 1.105 MB / 385.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.1204, allocations: 1.098 MB / 386.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.1217, allocations: 0.9031 MB / 387.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.1223, allocations: 450.3 kB / 387.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.1229, allocations: 0.5563 MB / 388.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.123, allocations: 96 kB / 388.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009099/0.1239, allocations: 415.6 kB / 388.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.1242, allocations: 239.1 kB / 389 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.1247, allocations: 0.5247 MB / 389.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.1263, allocations: 1.518 MB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.1263, allocations: 11.92 kB / 391.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1264, allocations: 0 / 391.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1264, allocations: 0 / 391.1 MB, free: 15.28 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.004128/0.1305, allocations: 1.648 MB / 392.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1306, allocations: 12.03 kB / 392.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003862/0.1344, allocations: 0.5694 MB / 393.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.1353, allocations: 0.4941 MB / 393.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.1353, allocations: 86.3 kB / 393.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.1355, allocations: 119.9 kB / 394 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.1375, allocations: 1.007 MB / 395 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.1376, allocations: 4 kB / 395 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.1377, allocations: 48 kB / 395.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.1377, allocations: 28 kB / 395.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1397, allocations: 1.032 MB / 396.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006367/0.1461, allocations: 3.838 MB / 400 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.1483, allocations: 2.048 MB / 402 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.1491, allocations: 447.5 kB / 402.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1492, allocations: 110.2 kB / 402.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008485/0.1501, allocations: 478.3 kB / 403 MB, free: 2.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.515e-06/0.1501, allocations: 0 / 403 MB, free: 2.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009098/0.1592, allocations: 4.025 MB / 407.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.1593, allocations: 141.5 kB / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.1598, allocations: 417.7 kB / 407.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.1599, allocations: 49.7 kB / 407.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.1602, allocations: 439.4 kB / 408.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.1606, allocations: 433.6 kB / 408.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.1609, allocations: 214.9 kB / 408.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1611, allocations: 386.7 kB / 409.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.1618, allocations: 358.5 kB / 409.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/0.1627, allocations: 0.5876 MB / 410 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.1643, allocations: 1.001 MB / 411 MB, free: 10.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1643, allocations: 0 / 411 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002694/0.167, allocations: 1.444 MB / 412.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1671, allocations: 8 kB / 412.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.1671, allocations: 8 kB / 412.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008977/0.168, allocations: 347.1 kB / 412.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009166/0.1689, allocations: 227.6 kB / 413.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008151/0.1771, allocations: 8.481 MB / 421.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/0.1781, allocations: 47.98 kB / 421.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.1783, allocations: 56.05 kB / 421.6 MB, free: 15.1 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.0005911/0.1789, allocations: 257.6 kB / 421.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1791, allocations: 75.06 kB / 422 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.1817, allocations: 1.329 MB / 423.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.1817, allocations: 12 kB / 423.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.1817, allocations: 11.94 kB / 423.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1818, allocations: 7.984 kB / 423.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/0.1861, allocations: 2.553 MB / 425.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.1861, allocations: 0 / 425.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.1869, allocations: 155.8 kB / 426 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008165/0.1877, allocations: 331.3 kB / 426.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.1878, allocations: 27.94 kB / 426.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007596/0.1954, allocations: 8.112 MB / 434.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1954, allocations: 0 / 434.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.1989, allocations: 1.845 MB / 436.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.1993, allocations: 224.1 kB / 436.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.1994, allocations: 27.94 kB / 436.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.2, allocations: 39.97 kB / 436.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.2002, allocations: 100.8 kB / 436.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.2003, allocations: 39.98 kB / 436.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003569/0.2007, allocations: 279.2 kB / 437 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2007, allocations: 0 / 437 MB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001488/0.2022, allocations: 320 kB / 437.3 MB, free: 14.64 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.0003585/0.2026, allocations: 170.9 kB / 437.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.2055, allocations: 1.644 MB / 439.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2055, allocations: 448 / 439.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.2073, 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.0005965/0.2079, allocations: 73.64 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.004071/0.212, allocations: 1.975 MB / 442.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.2127, allocations: 1.025 MB / 443.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004383/0.2131, 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.0001591/0.2133, allocations: 55.42 kB / 443.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2133, allocations: 0 / 443.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of Templates: time 0.2182/0.4315, allocations: 11.27 MB / 454.8 MB, free: 68.66 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)