Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006514/0.0006514, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008198/0.001471, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002218, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8734/0.8734, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07407/0.9475, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.004375/0.004375, allocations: 0.9669 MB / 244.9 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.005525, allocations: 0.6901 MB / 245.6 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.182e-05, allocations: 5.688 kB / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.002663/0.002675, allocations: 3.053 MB / 249.9 MB, free: 9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004069, allocations: 1.421 MB / 251.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.004183, allocations: 11.88 kB / 251.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.004478, allocations: 147 kB / 251.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.004668, allocations: 122.9 kB / 251.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.005064, allocations: 271.1 kB / 251.9 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.005377, allocations: 450.1 kB / 252.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.005519, allocations: 100.3 kB / 252.4 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.005815, allocations: 311.8 kB / 252.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.005964, allocations: 135.6 kB / 252.9 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.005998, allocations: 36 kB / 252.9 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.006216, allocations: 187.7 kB / 253.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.006291, allocations: 75.73 kB / 253.2 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.006378, allocations: 115.7 kB / 253.3 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.0067, allocations: 346.7 kB / 253.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.006712, allocations: 0 / 253.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006712, allocations: 0 / 253.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.006724, allocations: 0 / 253.6 MB, free: 5.297 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.000827/0.007551, allocations: 0.6902 MB / 254.3 MB, free: 4.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.007576, allocations: 8.031 kB / 254.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.007634, allocations: 52.89 kB / 254.4 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.007839, allocations: 216.5 kB / 254.6 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.007863, allocations: 21.03 kB / 254.6 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.007903, allocations: 36.33 kB / 254.6 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.008146, allocations: 226.1 kB / 254.8 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.008154, allocations: 192 / 254.8 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.008169, allocations: 12.31 kB / 254.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.008177, allocations: 15.94 kB / 254.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.008282, allocations: 88.53 kB / 255 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.009095, allocations: 0.7734 MB / 255.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.009236, allocations: 136.1 kB / 255.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.009275, allocations: 36.84 kB / 255.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.009321, allocations: 15.95 kB / 255.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.009341, allocations: 38.56 kB / 256 MB, free: 2.816 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.009342, allocations: 0 / 256 MB, free: 2.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.001116/0.01046, allocations: 0.7093 MB / 256.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.01048, allocations: 55.64 kB / 256.7 MB, free: 2.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01064, allocations: 282.8 kB / 257 MB, free: 1.715 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.01065, allocations: 29.7 kB / 257 MB, free: 1.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01073, allocations: 216.6 kB / 257.2 MB, free: 1.461 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.01078, allocations: 99.14 kB / 257.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.01084, allocations: 66.02 kB / 257.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.01092, allocations: 350.7 kB / 257.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.01096, allocations: 31.56 kB / 257.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.01104, allocations: 140.8 kB / 257.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.01119, allocations: 207.5 kB / 258.1 MB, free: 496 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01119, allocations: 0 / 258.1 MB, free: 496 kB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004296/0.01162, allocations: 399 kB / 258.5 MB, free: 84 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01163, allocations: 8 kB / 258.5 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01164, allocations: 4 kB / 258.5 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.01271, allocations: 0.9686 MB / 259.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01285, allocations: 75.91 kB / 259.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003731/0.01322, allocations: 1.094 MB / 260.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.01331, allocations: 15.98 kB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01333, allocations: 16.06 kB / 260.7 MB, free: 13.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.01341, allocations: 132.6 kB / 260.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.01344, allocations: 31.91 kB / 260.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.01383, allocations: 354.5 kB / 261.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01384, allocations: 3.938 kB / 261.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01384, allocations: 4 kB / 261.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01384, allocations: 0 / 261.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.014, allocations: 177.9 kB / 261.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.014, allocations: 4 kB / 261.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.772e-05/0.01409, allocations: 39.97 kB / 261.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.01411, allocations: 27.8 kB / 261.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009846/0.0151, allocations: 0.9719 MB / 262.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01511, allocations: 7.984 kB / 262.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003358/0.01545, allocations: 1.083 MB / 263.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01545, allocations: 0 / 263.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.01583, allocations: 467.9 kB / 264 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01586, allocations: 8 kB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.01593, allocations: 8 kB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.01597, allocations: 19.95 kB / 264 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.01597, allocations: 4 kB / 264 MB, free: 10.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.01604, allocations: 108.6 kB / 264.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01604, allocations: 0 / 264.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.01626, allocations: 103.8 kB / 264.2 MB, free: 10.2 MB / 266.7 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.01639, allocations: 128.2 kB / 264.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.01663, allocations: 170.8 kB / 264.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.01663, allocations: 4 kB / 264.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.01675, allocations: 98.33 kB / 264.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.01694, allocations: 73.25 kB / 264.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.01845, allocations: 0.6122 MB / 265.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.01849, allocations: 96.61 kB / 265.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.01858, allocations: 34.95 kB / 265.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.01867, allocations: 95.28 kB / 265.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01867, allocations: 0 / 265.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of Templates: time 0.005306/0.02398, allocations: 3.951 MB / 269.5 MB, free: 4.934 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.2988057462498546]