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.0008311/0.0008307, allocations: 98.27 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.006326/0.006326, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01698/0.01698, allocations: 1.216 MB / 292.7 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 354.1 MB, free: 1.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 50.68 MB / 404.7 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002547/0.3168, allocations: 1.263 MB / 406 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3191, allocations: 1.259 MB / 407.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.3192, allocations: 1 kB / 407.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.3198, allocations: 145.8 kB / 407.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.3205, allocations: 230.6 kB / 407.6 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.961e-06/0.3205, allocations: 0 / 407.6 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.3208, allocations: 163.8 kB / 407.8 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.3209, allocations: 17.14 kB / 407.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.321, allocations: 49.2 kB / 407.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.3212, allocations: 70.2 kB / 407.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3212, allocations: 4.625 kB / 407.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007671/0.322, allocations: 428.5 kB / 408.4 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.3221, allocations: 44.09 kB / 408.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.3222, allocations: 74.97 kB / 408.5 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.3228, allocations: 371 kB / 408.8 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3228, allocations: 1 kB / 408.8 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3228, allocations: 4 kB / 408.8 MB, free: 8.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3228, allocations: 0 / 408.8 MB, free: 8.531 MB / 286.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.0006721/0.3235, allocations: 464.8 kB / 409.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3235, allocations: 9.906 kB / 409.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.3236, allocations: 15.45 kB / 409.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3239, allocations: 243 kB / 409.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3239, allocations: 1.531 kB / 409.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3239, allocations: 7.906 kB / 409.6 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3241, allocations: 106.8 kB / 409.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3241, allocations: 0 / 409.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3241, allocations: 1.906 kB / 409.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3242, allocations: 1.188 kB / 409.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.3244, allocations: 151.6 kB / 409.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.3247, allocations: 259.8 kB / 410.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3249, allocations: 157.8 kB / 410.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.325, allocations: 68.45 kB / 410.3 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.913e-05/0.3251, allocations: 44.52 kB / 410.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3251, allocations: 41.06 kB / 410.4 MB, free: 7.422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3251, allocations: 0 / 410.4 MB, free: 7.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001775/0.3269, allocations: 436.5 kB / 410.8 MB, free: 7.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.327, allocations: 53.02 kB / 410.9 MB, free: 7.168 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.3273, allocations: 216.5 kB / 411.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3273, allocations: 26.83 kB / 411.1 MB, free: 7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.3274, allocations: 119.1 kB / 411.2 MB, free: 6.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.3274, allocations: 29.97 kB / 411.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.3275, allocations: 16.08 kB / 411.2 MB, free: 6.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.3276, allocations: 329.5 kB / 411.6 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.3276, allocations: 56.86 kB / 411.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.3277, allocations: 61.5 kB / 411.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3279, allocations: 133.7 kB / 411.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.328, allocations: 1.125 kB / 411.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007765/0.3287, allocations: 247.6 kB / 412.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3288, allocations: 5.344 kB / 412.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3288, allocations: 0 / 412.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007194/0.3295, allocations: 72.38 kB / 412.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.3296, allocations: 15.3 kB / 412.2 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.3315, allocations: 1.428 MB / 413.6 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.3316, allocations: 9.734 kB / 413.6 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3317, allocations: 8.438 kB / 413.6 MB, free: 5 MB / 286.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 0.000133/0.3318, allocations: 126.2 kB / 413.7 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3319, allocations: 15.03 kB / 413.7 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.3328, allocations: 264.2 kB / 414 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3328, allocations: 1.281 kB / 414 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3329, allocations: 1.469 kB / 414 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.3329, allocations: 8.531 kB / 414 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.3332, allocations: 259.3 kB / 414.3 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3332, allocations: 1.438 kB / 414.3 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.3333, allocations: 12.92 kB / 414.3 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/0.3339, allocations: 74.3 kB / 414.3 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.334, allocations: 6.625 kB / 414.4 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.3357, allocations: 1.427 MB / 415.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3357, allocations: 4.156 kB / 415.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.3366, allocations: 271 kB / 416 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3366, allocations: 92.2 kB / 416.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3367, allocations: 4.75 kB / 416.1 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.3367, allocations: 5.875 kB / 416.1 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.3368, allocations: 14.52 kB / 416.2 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3368, allocations: 3.094 kB / 416.2 MB, free: 2.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.337, allocations: 168.1 kB / 416.3 MB, free: 2.848 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.337, allocations: 0 / 416.3 MB, free: 2.848 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006153/0.3376, allocations: 81.73 kB / 416.4 MB, free: 2.832 MB / 286.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.0003386/0.338, allocations: 159.9 kB / 416.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.3386, allocations: 269.3 kB / 416.8 MB, free: 2.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3386, allocations: 0 / 416.8 MB, free: 2.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.3389, allocations: 199.9 kB / 417 MB, free: 2.457 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3392, allocations: 30.58 kB / 417.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.3431, allocations: 0.6081 MB / 417.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3433, allocations: 0.7213 MB / 418.4 MB, free: 1.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.3434, allocations: 26.34 kB / 418.4 MB, free: 1.488 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.3435, allocations: 14.88 kB / 418.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3435, allocations: 0 / 418.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of Templates: time 0.008491/0.352, allocations: 2.989 MB / 421.4 MB, free: 1.012 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) Environment - environmentSimulation: