Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 103 kB / 16.35 MB, free: 5.824 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.001002/0.001002, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.0146/0.0146, allocations: 1.236 MB / 292.4 MB, free: 13.65 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3108, allocations: 49.71 MB / 403.5 MB, free: 35.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002545/0.3134, allocations: 1.538 MB / 405 MB, free: 33.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.315, allocations: 1.266 MB / 406.3 MB, free: 32.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.3151, allocations: 0 / 406.3 MB, free: 32.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.3156, allocations: 147.4 kB / 406.4 MB, free: 32.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.3161, allocations: 261.5 kB / 406.7 MB, free: 32.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.282e-06/0.3161, allocations: 0 / 406.7 MB, free: 32.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3162, allocations: 111.5 kB / 406.8 MB, free: 31.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.3163, allocations: 5.453 kB / 406.8 MB, free: 31.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.3164, allocations: 59.7 kB / 406.8 MB, free: 31.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3166, allocations: 67.34 kB / 406.9 MB, free: 31.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3166, allocations: 4 kB / 406.9 MB, free: 31.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.3171, allocations: 407.1 kB / 407.3 MB, free: 31.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3172, allocations: 43.81 kB / 407.4 MB, free: 31.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.3172, allocations: 47.67 kB / 407.4 MB, free: 31.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.3176, allocations: 340.6 kB / 407.7 MB, free: 30.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3176, allocations: 4 kB / 407.7 MB, free: 30.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3176, allocations: 0 / 407.7 MB, free: 30.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3176, allocations: 0 / 407.7 MB, free: 30.97 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006159/0.3182, allocations: 485.9 kB / 408.2 MB, free: 30.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3183, allocations: 8.031 kB / 408.2 MB, free: 30.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.3183, allocations: 20.75 kB / 408.2 MB, free: 30.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3186, allocations: 243.5 kB / 408.5 MB, free: 30.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3186, allocations: 4.375 kB / 408.5 MB, free: 30.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3187, allocations: 4.375 kB / 408.5 MB, free: 30.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3188, allocations: 113.9 kB / 408.6 MB, free: 30.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3189, allocations: 0 / 408.6 MB, free: 30.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3189, allocations: 0 / 408.6 MB, free: 30.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3189, allocations: 0 / 408.6 MB, free: 30.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.319, allocations: 151.8 kB / 408.8 MB, free: 29.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.3193, allocations: 261.6 kB / 409 MB, free: 29.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3195, allocations: 146.5 kB / 409.1 MB, free: 29.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.3196, allocations: 72.81 kB / 409.2 MB, free: 29.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.3196, allocations: 39.97 kB / 409.3 MB, free: 29.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3197, allocations: 38.72 kB / 409.3 MB, free: 29.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.3197, allocations: 7.938 kB / 409.3 MB, free: 29.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001702/0.3214, allocations: 435.2 kB / 409.7 MB, free: 28.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3214, allocations: 55.41 kB / 409.8 MB, free: 28.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3216, allocations: 216.2 kB / 410 MB, free: 28.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3216, allocations: 29.7 kB / 410 MB, free: 28.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.3217, allocations: 112.1 kB / 410.1 MB, free: 28.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3217, allocations: 27.56 kB / 410.2 MB, free: 28.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3218, allocations: 29.7 kB / 410.2 MB, free: 28.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.3218, allocations: 322.8 kB / 410.5 MB, free: 27.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.3219, allocations: 59.97 kB / 410.6 MB, free: 27.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.322, allocations: 63.95 kB / 410.6 MB, free: 27.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3221, allocations: 141.2 kB / 410.8 MB, free: 27.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3221, allocations: 4 kB / 410.8 MB, free: 27.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006741/0.3228, allocations: 238.1 kB / 411 MB, free: 27.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3228, allocations: 4 kB / 411 MB, free: 27.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3228, allocations: 0 / 411 MB, free: 27.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.3235, allocations: 72.78 kB / 411.1 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.3236, allocations: 15.98 kB / 411.1 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.3255, allocations: 1.562 MB / 412.7 MB, free: 25.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.3255, allocations: 7.844 kB / 412.7 MB, free: 25.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3256, allocations: 4.031 kB / 412.7 MB, free: 25.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/0.3256, allocations: 133.9 kB / 412.8 MB, free: 25.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3257, allocations: 15.81 kB / 412.8 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007596/0.3264, allocations: 267.7 kB / 413.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3265, allocations: 4 kB / 413.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.3265, allocations: 3.938 kB / 413.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3265, allocations: 4 kB / 413.1 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3266, allocations: 253.6 kB / 413.3 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3266, allocations: 3.938 kB / 413.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3267, allocations: 12 kB / 413.3 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005812/0.3273, allocations: 72.77 kB / 413.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3273, allocations: 4 kB / 413.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.3288, allocations: 1.547 MB / 415 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3288, allocations: 7.922 kB / 415 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.3295, allocations: 269.5 kB / 415.2 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.3295, allocations: 92.83 kB / 415.3 MB, free: 22.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3296, allocations: 8.062 kB / 415.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.3296, allocations: 3.938 kB / 415.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.3297, allocations: 11.98 kB / 415.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3297, allocations: 7.984 kB / 415.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.3298, allocations: 167.1 kB / 415.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3298, allocations: 0 / 415.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.3302, allocations: 75.94 kB / 415.6 MB, free: 22.47 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/0.3304, allocations: 163 kB / 415.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.3309, allocations: 266.6 kB / 416 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3309, allocations: 0 / 416 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3312, allocations: 215 kB / 416.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3315, allocations: 24.12 kB / 416.3 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.335, allocations: 0.571 MB / 416.8 MB, free: 21.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.3352, allocations: 0.7279 MB / 417.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.3352, allocations: 16.88 kB / 417.6 MB, free: 20.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.3353, allocations: 23.31 kB / 417.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3353, allocations: 0 / 417.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of Templates: time 0.005794/0.3411, allocations: 3.156 MB / 420.7 MB, free: 17.24 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)