Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009966/0.0009967, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001049/0.001049, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0006806/0.000681, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2731, allocations: 47.58 MB / 326.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005591/0.2787, allocations: 5.22 MB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.2832, allocations: 2.337 MB / 334 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.2838, allocations: 22.5 kB / 334 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.2846, allocations: 269.9 kB / 334.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.2863, allocations: 0.6319 MB / 334.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.2882, allocations: 0.9038 MB / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2892, allocations: 0.73 MB / 336.6 MB, free: 9.383 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.2911, allocations: 1.163 MB / 337.7 MB, free: 8.172 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.2916, allocations: 366.6 kB / 338.1 MB, free: 7.812 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.2922, allocations: 470 kB / 338.5 MB, free: 7.352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.2922, allocations: 48 kB / 338.6 MB, free: 7.305 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006982/0.293, allocations: 307.6 kB / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.2931, allocations: 175.3 kB / 339.1 MB, free: 6.832 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.2933, allocations: 205.2 kB / 339.3 MB, free: 6.625 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2946, allocations: 1.112 MB / 340.4 MB, free: 5.512 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2946, allocations: 3.938 kB / 340.4 MB, free: 5.508 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2946, allocations: 0 / 340.4 MB, free: 5.508 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.2947, allocations: 0 / 340.4 MB, free: 5.508 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.004117/0.2988, allocations: 1.468 MB / 341.8 MB, free: 3.988 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.2988, allocations: 16.03 kB / 341.9 MB, free: 3.973 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/0.3027, allocations: 0.5763 MB / 342.4 MB, free: 3.395 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.3035, allocations: 497.3 kB / 342.9 MB, free: 2.867 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/0.3036, allocations: 82.3 kB / 343 MB, free: 2.785 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.3037, allocations: 112 kB / 343.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3055, allocations: 1.003 MB / 344.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.3056, allocations: 3.906 kB / 344.1 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3057, allocations: 44 kB / 344.2 MB, free: 1.598 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.3057, allocations: 32 kB / 344.2 MB, free: 1.566 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.3079, allocations: 1.032 MB / 345.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.314, allocations: 3.889 MB / 349.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.3164, allocations: 2.052 MB / 351.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3165, allocations: 102.2 kB / 351.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008166/0.3174, allocations: 478.5 kB / 351.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 3.086e-06/0.3174, allocations: 0 / 351.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=124): time 0.008734/0.3261, allocations: 3.955 MB / 355.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3263, allocations: 149.4 kB / 355.8 MB, free: 5.234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.3268, allocations: 405.7 kB / 356.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.3269, allocations: 45.7 kB / 356.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.3273, allocations: 447.4 kB / 356.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.3278, allocations: 417.9 kB / 357.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.3279, allocations: 24 kB / 357.1 MB, free: 3.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3281, allocations: 374.8 kB / 357.5 MB, free: 3.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.3288, allocations: 362.5 kB / 357.9 MB, free: 3.172 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/0.3297, allocations: 0.5762 MB / 358.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.3305, allocations: 444.3 kB / 358.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3305, allocations: 7.891 kB / 358.9 MB, free: 2.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002761/0.3333, allocations: 1.411 MB / 360.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3333, allocations: 8 kB / 360.3 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.3333, allocations: 8 kB / 360.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008895/0.3342, allocations: 347 kB / 360.6 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/0.3351, allocations: 211.7 kB / 360.8 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.3425, allocations: 7.782 MB / 368.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.3434, allocations: 52.11 kB / 368.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.3435, allocations: 47.98 kB / 368.7 MB, free: 7.652 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,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005289/0.344, allocations: 261.6 kB / 369 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3441, allocations: 75.16 kB / 369.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.3466, allocations: 1.297 MB / 370.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3466, allocations: 12 kB / 370.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3466, allocations: 11.98 kB / 370.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3466, allocations: 7.938 kB / 370.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.3504, allocations: 2.443 MB / 372.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3504, allocations: 8 kB / 372.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.3511, allocations: 147.8 kB / 373 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.3519, allocations: 333.2 kB / 373.3 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.352, allocations: 24 kB / 373.3 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006994/0.359, allocations: 7.518 MB / 380.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.359, allocations: 7.922 kB / 380.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.3622, allocations: 1.794 MB / 382.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.3625, allocations: 220.1 kB / 382.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.3626, allocations: 28 kB / 382.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.3631, allocations: 35.98 kB / 382.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.3633, allocations: 92.86 kB / 383 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.3634, allocations: 32 kB / 383 MB, free: 8.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003131/0.3637, allocations: 279.1 kB / 383.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3637, allocations: 0 / 383.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001158/0.3649, allocations: 316 kB / 383.6 MB, free: 8.043 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000276/0.3651, allocations: 171.1 kB / 383.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.3678, allocations: 1.634 MB / 385.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3678, allocations: 0 / 385.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.3693, allocations: 1.154 MB / 386.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3697, allocations: 57.44 kB / 386.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.3735, allocations: 2.378 MB / 389 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.3741, allocations: 1.04 MB / 390.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.3746, allocations: 110.3 kB / 390.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3747, allocations: 55.42 kB / 390.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3747, allocations: 3.938 kB / 390.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of Templates: time 0.01729/0.392, allocations: 10.08 MB / 400.3 MB, free: 7.184 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) Environment - environmentSimulation: