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.001241/0.001241, allocations: 93.06 kB / 19.65 MB, free: 280 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.001102/0.001102, allocations: 165 kB / 23.01 MB, free: 1.555 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.006894/0.006894, allocations: 0.9723 MB / 260.9 MB, free: 12.16 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.373e-06/1.373e-06, allocations: 0 / 330.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.815e-05, allocations: 2.312 kB / 330.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003576/0.003604, allocations: 3.024 MB / 333.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.005683, allocations: 1.374 MB / 335.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.005872, allocations: 7.938 kB / 335.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.006417, allocations: 154.9 kB / 335.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.00673, allocations: 123 kB / 335.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.007385, allocations: 287 kB / 335.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.007728, allocations: 444.5 kB / 336.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.007891, allocations: 91.69 kB / 336.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.008226, allocations: 275.2 kB / 336.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.008387, allocations: 143.6 kB / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.008428, allocations: 32 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.008665, allocations: 187.6 kB / 336.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.008758, allocations: 107.6 kB / 337 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.008842, allocations: 127.7 kB / 337.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.009242, allocations: 394.5 kB / 337.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.009246, allocations: 7.938 kB / 337.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009247, allocations: 0 / 337.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.009253, allocations: 0 / 337.5 MB, free: 12.05 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.0007554/0.01001, allocations: 0.7333 MB / 338.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01005, allocations: 8.031 kB / 338.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.01012, allocations: 68.66 kB / 338.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.01039, allocations: 264 kB / 338.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.01041, allocations: 21.03 kB / 338.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.01046, allocations: 44.27 kB / 338.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.01077, allocations: 231.3 kB / 338.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01078, allocations: 192 / 338.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.0108, allocations: 16.38 kB / 338.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.01082, allocations: 11.94 kB / 338.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.011, allocations: 127.8 kB / 339 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.01194, allocations: 0.937 MB / 339.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.01213, allocations: 121.7 kB / 340 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.0122, allocations: 43.62 kB / 340.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.01225, allocations: 15.94 kB / 340.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.01226, allocations: 41.38 kB / 340.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.01227, allocations: 0 / 340.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001306/0.01357, allocations: 0.658 MB / 340.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.01359, allocations: 51.64 kB / 340.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.01379, allocations: 362.2 kB / 341.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.0138, allocations: 33.7 kB / 341.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.01389, allocations: 294.8 kB / 341.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.01392, allocations: 103.2 kB / 341.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.01399, allocations: 67.73 kB / 341.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.01404, allocations: 0.5235 MB / 342.2 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.01412, allocations: 40.72 kB / 342.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01423, allocations: 200.8 kB / 342.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.01442, allocations: 248.4 kB / 342.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01442, allocations: 4 kB / 342.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005495/0.01497, allocations: 487.9 kB / 343.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01499, allocations: 10.97 kB / 343.2 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.015, allocations: 4 kB / 343.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.0161, allocations: 0.9642 MB / 344.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.01625, allocations: 71.84 kB / 344.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003748/0.01663, allocations: 1.651 MB / 345.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01674, allocations: 15.98 kB / 345.9 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.01675, allocations: 16 kB / 345.9 MB, free: 3.191 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 8.054e-05/0.01683, allocations: 176.5 kB / 346.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.01687, allocations: 47.7 kB / 346.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.01735, allocations: 405.4 kB / 346.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01736, allocations: 7.938 kB / 346.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01736, allocations: 0 / 346.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01736, allocations: 3.984 kB / 346.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.01756, allocations: 252.5 kB / 346.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01756, allocations: 0 / 346.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.01765, allocations: 39.91 kB / 346.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000955/0.0186, allocations: 0.965 MB / 347.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01862, allocations: 4 kB / 347.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003786/0.01899, allocations: 1.643 MB / 349.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.019, allocations: 4.062 kB / 349.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.01958, allocations: 0.5301 MB / 350 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.01963, allocations: 31.81 kB / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.01965, allocations: 0 / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.01974, allocations: 11.98 kB / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.01979, allocations: 19.97 kB / 350 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.0198, allocations: 4 kB / 350 MB, free: 14.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.01996, allocations: 239 kB / 350.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01996, allocations: 4 kB / 350.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.02026, allocations: 103.9 kB / 350.4 MB, free: 14.58 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.0001944/0.02045, allocations: 139.1 kB / 350.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.02086, allocations: 194.2 kB / 350.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.02086, allocations: 4.188 kB / 350.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.02103, allocations: 124.3 kB / 350.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.02131, allocations: 45.08 kB / 350.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.02237, allocations: 0.565 MB / 351.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.02245, allocations: 106.4 kB / 351.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.02255, allocations: 46.89 kB / 351.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.02261, allocations: 20.5 kB / 351.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02261, allocations: 4 kB / 351.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Templates: time 0.00647/0.02908, allocations: 3.697 MB / 355.3 MB, free: 9.625 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: 3.0982845537364483]