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.001157/0.001157, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008462/0.008462, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.424/1.424, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004939/0.000494, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006725/0.2764, allocations: 5.934 MB / 333 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.282, allocations: 2.475 MB / 335.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.2831, allocations: 22.06 kB / 335.5 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.2842, allocations: 340.7 kB / 335.8 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.2868, allocations: 0.6437 MB / 336.4 MB, free: 9.938 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.2893, allocations: 1.032 MB / 337.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.2909, allocations: 1.047 MB / 338.5 MB, free: 7.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.2933, allocations: 1.322 MB / 339.8 MB, free: 6.469 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.2938, allocations: 382.3 kB / 340.2 MB, free: 6.094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.2944, allocations: 0.4899 MB / 340.7 MB, free: 5.602 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/0.2945, allocations: 48 kB / 340.7 MB, free: 5.555 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009289/0.2954, allocations: 347.6 kB / 341.1 MB, free: 5.215 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2956, allocations: 187.1 kB / 341.3 MB, free: 5.031 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004789/0.2961, allocations: 0.4952 MB / 341.8 MB, free: 4.527 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.2977, allocations: 1.438 MB / 343.2 MB, free: 3.086 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2977, allocations: 0 / 343.2 MB, free: 3.086 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2977, allocations: 0 / 343.2 MB, free: 3.086 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.2977, allocations: 0 / 343.2 MB, free: 3.086 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004053/0.3018, allocations: 1.46 MB / 344.7 MB, free: 1.574 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3018, allocations: 8.031 kB / 344.7 MB, free: 1.566 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/0.3056, allocations: 0.585 MB / 345.3 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.3064, allocations: 494 kB / 345.7 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.3064, allocations: 90.3 kB / 345.8 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.3066, allocations: 119.9 kB / 345.9 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.3086, allocations: 1.011 MB / 347 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.3087, allocations: 4 kB / 347 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.3088, allocations: 51.94 kB / 347 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.3088, allocations: 28 kB / 347 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3108, allocations: 1.04 MB / 348.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005966/0.3167, allocations: 3.885 MB / 352 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.319, allocations: 2.06 MB / 354 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/0.3198, allocations: 439.7 kB / 354.5 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.3199, allocations: 106.2 kB / 354.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008396/0.3207, allocations: 486.4 kB / 355 MB, free: 6.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 3.597e-06/0.3208, allocations: 0 / 355 MB, free: 6.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.009174/0.3299, allocations: 4.076 MB / 359.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.3301, allocations: 141.5 kB / 359.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.3306, allocations: 417.7 kB / 359.7 MB, free: 1.805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.3307, allocations: 49.7 kB / 359.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.331, allocations: 443.5 kB / 360.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.3313, allocations: 425.7 kB / 360.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3315, allocations: 109.7 kB / 360.7 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3316, allocations: 382.7 kB / 361 MB, free: 400 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.3323, allocations: 362.5 kB / 361.4 MB, free: 36 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.3333, allocations: 0.5955 MB / 362 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.335, allocations: 0.998 MB / 363 MB, free: 14.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.335, allocations: 4 kB / 363 MB, free: 14.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002623/0.3376, allocations: 1.44 MB / 364.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3376, allocations: 8 kB / 364.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3376, allocations: 4 kB / 364.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/0.3385, allocations: 359.1 kB / 364.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.3394, allocations: 223.6 kB / 365 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.3465, allocations: 7.75 MB / 372.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000832/0.3473, allocations: 52.05 kB / 372.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.3474, allocations: 48 kB / 372.9 MB, free: 3.844 MB / 302.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.0004915/0.3479, allocations: 261.6 kB / 373.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.348, allocations: 71.16 kB / 373.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.3506, allocations: 1.333 MB / 374.5 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3506, allocations: 12 kB / 374.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.3506, allocations: 11.94 kB / 374.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3506, allocations: 7.969 kB / 374.5 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.3549, allocations: 2.584 MB / 377.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3549, allocations: 0 / 377.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.3556, allocations: 159.8 kB / 377.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007976/0.3564, allocations: 327.5 kB / 377.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.3564, allocations: 24 kB / 377.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007786/0.3642, allocations: 7.452 MB / 385.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3643, allocations: 64 / 385.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.3677, allocations: 1.851 MB / 386.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.3683, allocations: 224.1 kB / 387.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.3684, allocations: 24 kB / 387.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.3689, allocations: 43.98 kB / 387.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.3692, allocations: 93.09 kB / 387.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.3692, allocations: 43.98 kB / 387.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004011/0.3696, allocations: 279.1 kB / 387.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3697, allocations: 0 / 387.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001452/0.3711, allocations: 320 kB / 387.9 MB, free: 4.035 MB / 318.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.0003069/0.3714, allocations: 175 kB / 388.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.3743, allocations: 1.643 MB / 389.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3743, allocations: 0 / 389.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.376, allocations: 1.159 MB / 390.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.3767, allocations: 81.48 kB / 391 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.3808, allocations: 2.554 MB / 393.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.3814, allocations: 1.025 MB / 394.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.3819, allocations: 110.4 kB / 394.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.3821, allocations: 55.42 kB / 394.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3821, allocations: 0 / 394.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.01904/0.4012, allocations: 10.4 MB / 405.1 MB, free: 2.625 MB / 334.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)