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.0009107/0.0009107, allocations: 69.11 kB / 20.65 MB, free: 3.848 MB / 18.57 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.0009415/0.0009415, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9805/0.9805, allocations: 177.1 MB / 204.5 MB, free: 4.984 MB / 186.7 MB " [Timeout remaining time 179] 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.005169/0.005169, allocations: 0.9639 MB / 262 MB, free: 11.85 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.894e-06/1.894e-06, allocations: 0 / 332 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.892e-05, allocations: 6.312 kB / 332 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003191/0.003219, allocations: 2.985 MB / 335 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.004709, allocations: 1.366 MB / 336.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.004871, allocations: 8 kB / 336.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.005272, allocations: 147 kB / 336.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.005512, allocations: 123 kB / 336.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.005989, allocations: 295 kB / 336.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.006289, allocations: 444.5 kB / 337.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.00642, allocations: 95.67 kB / 337.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.006663, allocations: 267.3 kB / 337.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.006798, allocations: 147.5 kB / 337.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.006827, allocations: 32 kB / 337.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.007027, allocations: 191.6 kB / 338.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.007108, allocations: 99.66 kB / 338.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.007181, allocations: 135.7 kB / 338.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.007503, allocations: 398.5 kB / 338.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.007506, allocations: 0 / 338.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.007507, allocations: 0 / 338.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.007511, allocations: 0 / 338.7 MB, free: 11.79 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.0006104/0.008121, allocations: 0.7293 MB / 339.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.00815, allocations: 16.02 kB / 339.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.008214, allocations: 72.59 kB / 339.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.008419, allocations: 251.3 kB / 339.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.008444, allocations: 21.03 kB / 339.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.008476, allocations: 32.38 kB / 339.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.008712, allocations: 215.3 kB / 340 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.008722, allocations: 192 / 340 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.008739, allocations: 12.38 kB / 340 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.008746, allocations: 15.94 kB / 340 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.008857, allocations: 100.5 kB / 340.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.009672, allocations: 0.9445 MB / 341.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.009812, allocations: 107 kB / 341.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.00985, allocations: 42.08 kB / 341.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.009886, allocations: 11.98 kB / 341.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.009902, allocations: 37.39 kB / 341.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.009903, allocations: 0 / 341.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009885/0.01089, allocations: 0.5913 MB / 341.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.01091, allocations: 55.64 kB / 341.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.01105, allocations: 358 kB / 342.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.01106, allocations: 29.7 kB / 342.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.01114, allocations: 298.8 kB / 342.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.01118, allocations: 95.16 kB / 342.7 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.01124, allocations: 75.7 kB / 342.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.01131, allocations: 0.5235 MB / 343.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.01136, allocations: 40.59 kB / 343.3 MB, free: 6.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.01144, allocations: 188.2 kB / 343.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.01159, allocations: 232.3 kB / 343.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01159, allocations: 4 kB / 343.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004818/0.01207, allocations: 460.4 kB / 344.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01209, allocations: 8 kB / 344.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01209, allocations: 4 kB / 344.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.01311, allocations: 0.9716 MB / 345.2 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01324, allocations: 63.91 kB / 345.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003112/0.01355, allocations: 1.643 MB / 346.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01366, allocations: 19.98 kB / 346.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01368, allocations: 12 kB / 346.9 MB, free: 3.129 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.407e-05/0.01375, allocations: 176.6 kB / 347.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.01379, allocations: 47.7 kB / 347.1 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.01421, allocations: 381 kB / 347.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01421, allocations: 3.938 kB / 347.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01421, allocations: 0 / 347.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01422, allocations: 3.984 kB / 347.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.01437, allocations: 209.1 kB / 347.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01437, allocations: 0 / 347.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.01445, allocations: 39.92 kB / 347.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009061/0.01536, allocations: 0.9646 MB / 348.7 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01537, allocations: 8 kB / 348.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000326/0.0157, allocations: 1.631 MB / 350.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0157, allocations: 0 / 350.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.01616, allocations: 0.5108 MB / 350.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.01619, allocations: 31.75 kB / 350.9 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01621, allocations: 8.062 kB / 350.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.0163, allocations: 15.98 kB / 350.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.01634, allocations: 15.97 kB / 350.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.01635, allocations: 4 kB / 350.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01645, allocations: 226.9 kB / 351.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01645, allocations: 0 / 351.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.01673, allocations: 107.9 kB / 351.2 MB, free: 14.63 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.0001558/0.01688, allocations: 139.1 kB / 351.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.01715, allocations: 177.6 kB / 351.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01716, allocations: 0 / 351.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01729, allocations: 112.2 kB / 351.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01754, allocations: 61.06 kB / 351.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.01829, allocations: 0.5678 MB / 352.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.01834, allocations: 100.6 kB / 352.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.01842, allocations: 34.91 kB / 352.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.01852, allocations: 110.2 kB / 352.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01852, allocations: 0 / 352.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Templates: time 0.00589/0.02441, allocations: 4.057 MB / 356.6 MB, free: 9.266 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: 2.774290543049574]