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.001077/0.001077, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001034/0.001034, allocations: 173 kB / 23.49 MB, free: 1.059 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.005242/0.005242, allocations: 0.9707 MB / 261.2 MB, free: 12.26 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.623e-06/1.623e-06, allocations: 3.984 kB / 330.8 MB, free: 19.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.519e-05, allocations: 2.312 kB / 330.8 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.002366/0.002381, allocations: 2.995 MB / 333.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003764, allocations: 1.374 MB / 335.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.003904, allocations: 8 kB / 335.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.004284, allocations: 150.9 kB / 335.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.004496, allocations: 127 kB / 335.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.004933, allocations: 291 kB / 335.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.005201, allocations: 440.5 kB / 336.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.005336, allocations: 99.67 kB / 336.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.005564, allocations: 267.3 kB / 336.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.005697, allocations: 147.5 kB / 336.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.005729, allocations: 36 kB / 336.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.005914, allocations: 179.7 kB / 336.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.005988, allocations: 103.6 kB / 336.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.006065, allocations: 131.7 kB / 337.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.006376, allocations: 402.5 kB / 337.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.006378, allocations: 0 / 337.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006378, allocations: 0 / 337.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006384, allocations: 0 / 337.5 MB, free: 12.41 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.000668/0.007052, allocations: 0.7294 MB / 338.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.007082, allocations: 12.03 kB / 338.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.007154, allocations: 72.64 kB / 338.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.007394, allocations: 260 kB / 338.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.007417, allocations: 25.03 kB / 338.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.00745, allocations: 32.33 kB / 338.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.007721, allocations: 243.2 kB / 338.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.007731, allocations: 192 / 338.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.00775, allocations: 12.38 kB / 338.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.00776, allocations: 11.94 kB / 338.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.007943, allocations: 135.8 kB / 339 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.00878, allocations: 0.9369 MB / 339.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.008958, allocations: 115.1 kB / 340 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.009012, allocations: 43.62 kB / 340.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.009051, allocations: 19.97 kB / 340.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.009065, allocations: 41.39 kB / 340.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.009067, allocations: 0 / 340.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001125/0.01019, allocations: 0.6475 MB / 340.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.01021, allocations: 55.64 kB / 340.8 MB, free: 8.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.01038, allocations: 366.2 kB / 341.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.0104, allocations: 29.7 kB / 341.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.01047, allocations: 294.8 kB / 341.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.0105, allocations: 95.17 kB / 341.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.01056, allocations: 75.72 kB / 341.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.01062, allocations: 0.5157 MB / 342.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.01069, allocations: 40.72 kB / 342.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.0108, allocations: 200.8 kB / 342.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.01098, allocations: 256.3 kB / 342.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01098, allocations: 0 / 342.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005038/0.01148, allocations: 492.3 kB / 343.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.01149, allocations: 4.406 kB / 343.2 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.0115, allocations: 8 kB / 343.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.01258, allocations: 0.969 MB / 344.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01272, allocations: 71.78 kB / 344.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003246/0.01305, allocations: 1.651 MB / 345.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.01316, allocations: 16 kB / 345.9 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01317, allocations: 12 kB / 345.9 MB, free: 3.547 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.711e-05/0.01325, allocations: 188.5 kB / 346.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.01328, allocations: 43.7 kB / 346.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.01377, allocations: 392.7 kB / 346.5 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01378, allocations: 7.938 kB / 346.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01378, allocations: 4 kB / 346.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01378, allocations: 3.984 kB / 346.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.01397, allocations: 260.5 kB / 346.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01397, allocations: 0 / 346.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.01406, allocations: 35.98 kB / 346.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/0.01505, allocations: 0.9633 MB / 347.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01507, allocations: 8 kB / 347.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/0.01537, allocations: 1.643 MB / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01538, allocations: 0 / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.01592, allocations: 0.5212 MB / 349.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.01596, allocations: 31.75 kB / 350 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.01599, allocations: 4 kB / 350 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.01608, allocations: 12.05 kB / 350 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.01613, allocations: 19.97 kB / 350 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01614, allocations: 8 kB / 350 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.01628, allocations: 235 kB / 350.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01628, allocations: 0 / 350.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.01656, allocations: 107.9 kB / 350.4 MB, free: 14.93 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.0001697/0.01673, allocations: 135 kB / 350.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.01707, allocations: 201.6 kB / 350.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01708, allocations: 0 / 350.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.01723, allocations: 116.8 kB / 350.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.01749, allocations: 57.98 kB / 350.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.01837, allocations: 0.5744 MB / 351.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.01843, allocations: 102.4 kB / 351.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.821e-05/0.01852, allocations: 38.97 kB / 351.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.01857, allocations: 28.48 kB / 351.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01857, allocations: 0 / 351.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of Templates: time 0.005576/0.02414, allocations: 3.692 MB / 355.3 MB, free: 9.98 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.870131111005321]