Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009181/0.0009182, allocations: 91.31 kB / 16.3 MB, free: 5.996 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.001028/0.001029, allocations: 186.2 kB / 17.2 MB, free: 5.91 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.518/1.518, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004897/0.00049, allocations: 14.81 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2401, allocations: 47.58 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006655/0.2469, allocations: 5.217 MB / 332.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00504/0.2519, allocations: 2.341 MB / 335.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.253, allocations: 18.78 kB / 335.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.2542, allocations: 277.8 kB / 335.6 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.2566, allocations: 0.6319 MB / 336.2 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.2587, allocations: 0.885 MB / 337.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.2603, allocations: 0.73 MB / 337.8 MB, free: 9.402 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.2623, allocations: 1.167 MB / 339 MB, free: 8.188 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.2629, allocations: 366.6 kB / 339.3 MB, free: 7.828 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.2635, allocations: 462 kB / 339.8 MB, free: 7.375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.2636, allocations: 48 kB / 339.8 MB, free: 7.328 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007671/0.2643, allocations: 311.6 kB / 340.1 MB, free: 7.023 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.2645, allocations: 171.3 kB / 340.3 MB, free: 6.855 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2647, allocations: 209.1 kB / 340.5 MB, free: 6.645 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2658, allocations: 1.108 MB / 341.6 MB, free: 5.535 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.2658, allocations: 8 kB / 341.6 MB, free: 5.527 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2658, allocations: 0 / 341.6 MB, free: 5.527 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2658, allocations: 0 / 341.6 MB, free: 5.527 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.004043/0.2698, allocations: 1.468 MB / 343.1 MB, free: 4.008 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2699, allocations: 8.031 kB / 343.1 MB, free: 4 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/0.2738, allocations: 0.5841 MB / 343.7 MB, free: 3.414 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.2746, allocations: 489.3 kB / 344.2 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.2747, allocations: 94.3 kB / 344.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.2749, allocations: 112 kB / 344.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.2767, allocations: 0.9989 MB / 345.4 MB, free: 1.664 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.2768, allocations: 7.906 kB / 345.4 MB, free: 1.656 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/0.2769, allocations: 47.98 kB / 345.4 MB, free: 1.609 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.2769, allocations: 28 kB / 345.4 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.2789, allocations: 1.032 MB / 346.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.2848, allocations: 3.889 MB / 350.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.2869, allocations: 2.044 MB / 352.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.2871, allocations: 102.2 kB / 352.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/0.2879, allocations: 486.4 kB / 353 MB, free: 9.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 3.105e-06/0.2879, allocations: 4 kB / 353 MB, free: 9.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=124): time 0.008438/0.2964, allocations: 3.955 MB / 356.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.2965, allocations: 141.5 kB / 357.1 MB, free: 5.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.2969, allocations: 409.7 kB / 357.5 MB, free: 4.848 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.297, allocations: 45.7 kB / 357.5 MB, free: 4.797 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.2973, allocations: 439.4 kB / 357.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.2976, allocations: 421.9 kB / 358.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.2977, allocations: 24 kB / 358.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2978, allocations: 382.8 kB / 358.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.2985, allocations: 358.5 kB / 359.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.2994, allocations: 0.5723 MB / 359.7 MB, free: 2.527 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008251/0.3002, allocations: 440.3 kB / 360.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3002, allocations: 7.953 kB / 360.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002489/0.3027, allocations: 1.419 MB / 361.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.3028, allocations: 8 kB / 361.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3028, allocations: 7.938 kB / 361.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/0.3036, allocations: 343.1 kB / 361.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.3045, allocations: 215.7 kB / 362.1 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/0.3119, allocations: 7.783 MB / 369.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.3127, allocations: 56.03 kB / 369.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.3128, allocations: 51.98 kB / 370 MB, free: 7.66 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.0004583/0.3133, allocations: 265.6 kB / 370.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/0.3134, allocations: 67.16 kB / 370.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.3159, allocations: 1.297 MB / 371.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3159, allocations: 16 kB / 371.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3159, allocations: 8 kB / 371.6 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.3159, allocations: 11.92 kB / 371.6 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.3196, allocations: 2.435 MB / 374.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3197, allocations: 4 kB / 374.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.3203, allocations: 155.8 kB / 374.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007616/0.3211, allocations: 325.3 kB / 374.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.3212, allocations: 27.98 kB / 374.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00672/0.3279, allocations: 7.525 MB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3279, allocations: 4.031 kB / 382.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.3312, allocations: 1.79 MB / 383.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.3315, allocations: 220.1 kB / 384.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/0.3316, allocations: 24.06 kB / 384.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.3321, allocations: 47.97 kB / 384.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.3323, allocations: 88.88 kB / 384.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.3324, allocations: 39.92 kB / 384.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.3327, allocations: 275.2 kB / 384.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3327, allocations: 0 / 384.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001177/0.3339, allocations: 316 kB / 384.9 MB, free: 8.051 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.000271/0.3342, allocations: 163.1 kB / 385 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.3367, allocations: 1.635 MB / 386.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3367, allocations: 0 / 386.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.3382, allocations: 1.146 MB / 387.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3386, allocations: 61.44 kB / 387.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.3421, allocations: 2.382 MB / 390.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.3427, allocations: 1.048 MB / 391.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004692/0.3432, allocations: 98.3 kB / 391.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3433, allocations: 63.36 kB / 391.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3433, allocations: 3.938 kB / 391.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Templates: time 0.01655/0.3599, allocations: 10.07 MB / 401.5 MB, free: 7.203 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) Environment - environmentSimulation: