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.0009008/0.0009008, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009931/0.0009931, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.03/1.03, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.005151/0.005151, allocations: 0.9644 MB / 261.2 MB, free: 12.05 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.673e-06/1.673e-06, allocations: 0 / 331.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.908e-05, allocations: 4.562 kB / 331.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004976/0.005005, allocations: 2.982 MB / 334.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.008113, allocations: 1.374 MB / 335.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.008519, allocations: 7.938 kB / 335.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007589/0.009278, allocations: 155 kB / 335.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.009736, allocations: 119 kB / 335.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.01074, allocations: 291.1 kB / 336.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.01135, allocations: 446.7 kB / 336.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.01163, allocations: 91.48 kB / 336.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.01225, allocations: 267.3 kB / 336.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.01252, allocations: 147.5 kB / 337.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.01258, allocations: 36 kB / 337.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.01303, allocations: 183.6 kB / 337.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.01318, allocations: 95.64 kB / 337.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.01333, allocations: 127.7 kB / 337.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008587/0.01419, allocations: 406.4 kB / 337.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.0142, allocations: 4 kB / 337.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.0142, allocations: 0 / 337.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.01421, allocations: 0 / 337.9 MB, free: 12.89 MB / 314.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.001494/0.0157, allocations: 0.7293 MB / 338.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.01576, allocations: 8.031 kB / 338.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.01591, allocations: 76.66 kB / 338.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.01632, allocations: 247.3 kB / 338.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.01637, allocations: 29.03 kB / 339 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.01643, allocations: 28.38 kB / 339 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.01694, allocations: 211.3 kB / 339.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.01696, allocations: 4.188 kB / 339.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.01699, allocations: 12.38 kB / 339.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.017, allocations: 11.94 kB / 339.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.01723, allocations: 104.4 kB / 339.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.01894, allocations: 0.9523 MB / 340.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.01921, allocations: 103 kB / 340.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.01927, allocations: 35.75 kB / 340.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.846e-05/0.01934, allocations: 19.94 kB / 340.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.01938, allocations: 41.33 kB / 340.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.01938, allocations: 0 / 340.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001638/0.02102, allocations: 0.5957 MB / 341.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.02105, allocations: 55.64 kB / 341.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.02135, allocations: 358 kB / 341.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.02137, allocations: 33.7 kB / 341.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.02155, allocations: 298.8 kB / 341.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.02162, allocations: 95.16 kB / 341.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.02173, allocations: 83.58 kB / 342 MB, free: 8.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.02191, allocations: 0.5117 MB / 342.5 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.02199, allocations: 36.72 kB / 342.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.02216, allocations: 192.7 kB / 342.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.02247, allocations: 236.3 kB / 342.9 MB, free: 7.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02247, allocations: 4 kB / 342.9 MB, free: 7.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006431/0.02312, allocations: 472.3 kB / 343.4 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.02314, allocations: 7.984 kB / 343.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.02314, allocations: 4 kB / 343.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.02511, allocations: 0.9884 MB / 344.4 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.02545, allocations: 63.91 kB / 344.5 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.02815, allocations: 4.225 MB / 348.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.02836, allocations: 20.3 kB / 348.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.02838, allocations: 12 kB / 348.7 MB, free: 1.496 MB / 314.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.0001552/0.02854, allocations: 176.4 kB / 348.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.02859, allocations: 47.83 kB / 348.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/0.02919, allocations: 403.1 kB / 349.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.0292, allocations: 4 kB / 349.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0292, allocations: 0 / 349.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.02921, allocations: 0 / 349.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.02946, allocations: 209 kB / 349.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02947, allocations: 0 / 349.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.02957, allocations: 43.91 kB / 349.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.03081, allocations: 0.984 MB / 350.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.03082, allocations: 0 / 350.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.03283, allocations: 4.213 MB / 354.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03283, allocations: 0 / 354.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.03332, allocations: 0.5127 MB / 355.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.03335, allocations: 31.8 kB / 355.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.03337, allocations: 8 kB / 355.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.03345, allocations: 8 kB / 355.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.03349, allocations: 19.95 kB / 355.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.0335, allocations: 8.031 kB / 355.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.03361, allocations: 230.9 kB / 355.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03361, allocations: 0 / 355.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.03393, allocations: 99.81 kB / 355.7 MB, free: 10.27 MB / 330.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.0001814/0.03411, allocations: 143 kB / 355.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.03441, allocations: 182.3 kB / 356 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03441, allocations: 0 / 356 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.03454, allocations: 120.7 kB / 356.1 MB, free: 9.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.0348, allocations: 47.16 kB / 356.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.03584, allocations: 0.5797 MB / 356.8 MB, free: 9.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.524e-05/0.03589, allocations: 96.61 kB / 356.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.03598, allocations: 34.95 kB / 356.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.03608, allocations: 106.2 kB / 357 MB, free: 8.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03608, allocations: 4 kB / 357 MB, free: 8.906 MB / 330.7 MB Notification: Performance of Templates: time 0.006474/0.04256, allocations: 3.972 MB / 361 MB, free: 4.98 MB / 330.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.8700333167798817]