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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01714/0.01714, allocations: 1.237 MB / 306.3 MB, free: 3.426 MB / 238.1 MB [Timeout remaining time 90] 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=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 426.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 52.41 MB / 478.5 MB, free: 28.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002309/0.286, allocations: 1.553 MB / 480 MB, free: 27.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2876, allocations: 1.277 MB / 481.3 MB, free: 26.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2877, allocations: 3.938 kB / 481.3 MB, free: 26.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.2883, allocations: 144.7 kB / 481.5 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.2891, allocations: 256.1 kB / 481.7 MB, free: 26.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.394e-06/0.2891, allocations: 0 / 481.7 MB, free: 26.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.2893, allocations: 110.3 kB / 481.8 MB, free: 26.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.2894, allocations: 14.66 kB / 481.8 MB, free: 26.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2895, allocations: 47.42 kB / 481.9 MB, free: 26.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2896, allocations: 74.55 kB / 482 MB, free: 26.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2897, allocations: 3.031 kB / 482 MB, free: 26.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.2903, allocations: 439.3 kB / 482.4 MB, free: 25.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.2903, allocations: 33.59 kB / 482.4 MB, free: 25.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.2904, allocations: 66.77 kB / 482.5 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.2909, allocations: 333.5 kB / 482.8 MB, free: 25.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2909, allocations: 3.031 kB / 482.8 MB, free: 25.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2909, allocations: 0 / 482.8 MB, free: 25.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2909, allocations: 0 / 482.8 MB, free: 25.7 MB / 366.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.0007192/0.2916, allocations: 499.3 kB / 483.3 MB, free: 25.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2916, allocations: 9 kB / 483.3 MB, free: 25.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.2917, allocations: 21.84 kB / 483.3 MB, free: 25.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.2919, allocations: 251 kB / 483.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2919, allocations: 384 / 483.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.292, allocations: 3.406 kB / 483.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.2921, allocations: 112.1 kB / 483.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2921, allocations: 0 / 483.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2921, allocations: 0 / 483.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2922, allocations: 3 kB / 483.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2923, allocations: 145.8 kB / 483.8 MB, free: 24.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2925, allocations: 253.4 kB / 484.1 MB, free: 24.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.2927, allocations: 152.4 kB / 484.2 MB, free: 24.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.2928, allocations: 70.47 kB / 484.3 MB, free: 24.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.2929, allocations: 42.28 kB / 484.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.2929, allocations: 38.44 kB / 484.4 MB, free: 24.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.2929, allocations: 0 / 484.4 MB, free: 24.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001754/0.2946, allocations: 447.5 kB / 484.8 MB, free: 24.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2947, allocations: 51.41 kB / 484.9 MB, free: 24.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2948, allocations: 218.1 kB / 485.1 MB, free: 24.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2949, allocations: 29.7 kB / 485.1 MB, free: 24.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.2949, allocations: 117.1 kB / 485.2 MB, free: 24.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.2949, allocations: 30.53 kB / 485.2 MB, free: 24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.295, allocations: 20.41 kB / 485.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.295, allocations: 332.7 kB / 485.6 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.2951, allocations: 62.3 kB / 485.7 MB, free: 23.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.2951, allocations: 63.52 kB / 485.7 MB, free: 23.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2953, allocations: 127 kB / 485.8 MB, free: 23.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2953, allocations: 0 / 485.8 MB, free: 23.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007649/0.296, allocations: 240.1 kB / 486.1 MB, free: 23.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2961, allocations: 8.969 kB / 486.1 MB, free: 23.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2961, allocations: 0 / 486.1 MB, free: 23.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007516/0.2968, allocations: 68.02 kB / 486.1 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.2969, allocations: 25.56 kB / 486.2 MB, free: 23.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.2987, allocations: 1.551 MB / 487.7 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.2987, allocations: 11.11 kB / 487.7 MB, free: 22.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.2988, allocations: 6.562 kB / 487.7 MB, free: 22.03 MB / 366.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.579e-05/0.2988, allocations: 134.9 kB / 487.9 MB, free: 21.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.2989, allocations: 14.22 kB / 487.9 MB, free: 21.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.2997, allocations: 265.3 kB / 488.1 MB, free: 21.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2997, allocations: 3.5 kB / 488.2 MB, free: 21.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2997, allocations: 4 kB / 488.2 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2997, allocations: 0 / 488.2 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2999, allocations: 264.5 kB / 488.4 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2999, allocations: 3.938 kB / 488.4 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.2999, allocations: 15.48 kB / 488.4 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006517/0.3006, allocations: 70.33 kB / 488.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3006, allocations: 4 kB / 488.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.3021, allocations: 1.546 MB / 490.1 MB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3021, allocations: 96 / 490.1 MB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.3029, allocations: 268.3 kB / 490.3 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.3029, allocations: 93.03 kB / 490.4 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.303, allocations: 0 / 490.4 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.303, allocations: 4.594 kB / 490.4 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3031, allocations: 22.92 kB / 490.4 MB, free: 19.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3031, allocations: 4.234 kB / 490.4 MB, free: 19.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3032, allocations: 160.8 kB / 490.6 MB, free: 19.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3032, allocations: 3.031 kB / 490.6 MB, free: 19.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.3036, allocations: 81.59 kB / 490.7 MB, free: 19.74 MB / 366.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.0002596/0.3039, allocations: 158.6 kB / 490.8 MB, free: 19.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.3044, allocations: 274.9 kB / 491.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3044, allocations: 0 / 491.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3047, allocations: 203.7 kB / 491.3 MB, free: 19.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.305, allocations: 27.88 kB / 491.3 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.3098, allocations: 0.6064 MB / 491.9 MB, free: 19.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.31, allocations: 0.7211 MB / 492.7 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.3101, allocations: 17.66 kB / 492.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3101, allocations: 0 / 492.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of Templates: time 0.008385/0.3185, allocations: 2.998 MB / 495.7 MB, free: 18.1 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (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) [Timeout 480]