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.001837/0.001837, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.00216/0.00216, allocations: 173.3 kB / 22.77 MB, free: 1.641 MB / 18.57 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 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.01203/0.01203, allocations: 0.963 MB / 260.5 MB, free: 12.23 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 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.503e-06/1.503e-06, allocations: 0 / 330 MB, free: 19.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.755e-05, allocations: 4.562 kB / 330 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003604/0.003632, allocations: 2.97 MB / 333 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.005715, allocations: 1.378 MB / 334.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.005965, allocations: 8 kB / 334.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.006518, allocations: 147 kB / 334.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.006907, allocations: 126.9 kB / 334.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.007669, allocations: 291.1 kB / 334.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.008112, allocations: 444.2 kB / 335.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.0083, allocations: 99.66 kB / 335.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.008715, allocations: 267.3 kB / 335.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.008905, allocations: 147.5 kB / 335.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.008953, allocations: 36 kB / 335.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.009208, allocations: 179.7 kB / 336.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.009303, allocations: 99.59 kB / 336.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.00942, allocations: 131.7 kB / 336.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.009908, allocations: 0.5411 MB / 336.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.009912, allocations: 0 / 336.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009913, allocations: 0 / 336.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.00992, allocations: 0 / 336.8 MB, free: 12.32 MB / 266.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.001036/0.01096, allocations: 0.7563 MB / 337.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.01099, allocations: 8.031 kB / 337.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.01109, allocations: 72.66 kB / 337.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.01142, allocations: 260 kB / 337.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.01144, allocations: 29.03 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.01148, allocations: 32.33 kB / 338 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.01191, allocations: 278.6 kB / 338.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01192, allocations: 4.125 kB / 338.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.01195, allocations: 12.38 kB / 338.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01196, allocations: 11.94 kB / 338.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.0124, allocations: 226.5 kB / 338.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01375, allocations: 1.038 MB / 339.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.01405, allocations: 163.1 kB / 339.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.01418, allocations: 73.16 kB / 339.8 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.01424, allocations: 8 kB / 339.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.01426, allocations: 45.33 kB / 339.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.01426, allocations: 0 / 339.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.002086/0.01634, allocations: 0.7878 MB / 340.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.01637, allocations: 55.64 kB / 340.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01663, allocations: 414.2 kB / 341.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.01665, allocations: 29.7 kB / 341.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01675, allocations: 306.8 kB / 341.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.01679, allocations: 99.17 kB / 341.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.01688, allocations: 75.73 kB / 341.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01696, allocations: 0.5313 MB / 342.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.01716, allocations: 92.7 kB / 342.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.01741, allocations: 244.8 kB / 342.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.01783, allocations: 348.3 kB / 342.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01784, allocations: 4 kB / 342.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001001/0.01884, allocations: 0.5702 MB / 343.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01885, allocations: 4 kB / 343.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01886, allocations: 4 kB / 343.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.02084, allocations: 0.985 MB / 344.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.0211, allocations: 67.91 kB / 344.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005931/0.02169, allocations: 1.694 MB / 346.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.02192, allocations: 15.94 kB / 346.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.02194, allocations: 16 kB / 346.1 MB, free: 2.586 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 0.000163/0.02211, allocations: 200.5 kB / 346.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.02217, allocations: 47.7 kB / 346.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000961/0.02313, allocations: 473.8 kB / 346.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.02314, allocations: 7.938 kB / 346.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.02314, allocations: 0 / 346.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.02315, allocations: 3.984 kB / 346.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.02346, allocations: 304.5 kB / 347.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02346, allocations: 3.984 kB / 347.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.02363, allocations: 31.98 kB / 347.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.02551, allocations: 0.9819 MB / 348.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.02553, allocations: 4 kB / 348.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.02662, allocations: 1.686 MB / 349.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02662, allocations: 0 / 349.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.0279, allocations: 0.6122 MB / 350.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.02798, allocations: 27.81 kB / 350.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.02803, allocations: 4 kB / 350.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.02822, allocations: 11.98 kB / 350.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.02829, allocations: 27.94 kB / 350.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.02831, allocations: 4 kB / 350.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.02862, allocations: 270.9 kB / 350.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02862, allocations: 0 / 350.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.0291, allocations: 103.9 kB / 350.9 MB, free: 13.66 MB / 282.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.0002649/0.02937, allocations: 139 kB / 351.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008339/0.0302, allocations: 289.6 kB / 351.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.03021, allocations: 0 / 351.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.03068, allocations: 164.2 kB / 351.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.03111, allocations: 48.06 kB / 351.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.03244, allocations: 0.6061 MB / 352.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.03266, allocations: 188.3 kB / 352.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.0328, allocations: 38.94 kB / 352.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.03288, allocations: 28.5 kB / 352.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03288, allocations: 0 / 352.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of Templates: time 0.009643/0.04252, allocations: 3.68 MB / 356.1 MB, free: 8.477 MB / 282.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: 4.686743566067889]