Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.000863/0.000863, 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.001014/0.001014, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.9497/0.9497, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.005052/0.005052, allocations: 0.9684 MB / 260.9 MB, free: 12.19 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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 330.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.908e-05, allocations: 2.312 kB / 330.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.00275/0.002769, allocations: 2.851 MB / 333.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004424, allocations: 1.635 MB / 335.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004537, allocations: 11.88 kB / 335.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.005084, allocations: 198.9 kB / 335.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.005219, allocations: 103.1 kB / 335.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.005631, allocations: 307 kB / 335.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.005983, allocations: 406.3 kB / 336.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.006129, allocations: 78.02 kB / 336.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.00634, allocations: 215.5 kB / 336.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.00649, allocations: 127.6 kB / 336.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.006521, allocations: 28 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.006725, allocations: 179.5 kB / 336.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.006785, allocations: 83.72 kB / 336.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.006861, allocations: 115.7 kB / 337.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.007162, allocations: 342.8 kB / 337.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.007165, allocations: 4 kB / 337.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007166, allocations: 0 / 337.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.00717, allocations: 4 kB / 337.4 MB, free: 12.14 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006452/0.007816, allocations: 0.6827 MB / 338.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.007853, allocations: 12.03 kB / 338.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.008009, allocations: 68.7 kB / 338.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.00822, allocations: 231.4 kB / 338.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.008245, allocations: 25.03 kB / 338.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.008276, allocations: 24.38 kB / 338.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.008545, allocations: 233 kB / 338.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.008556, allocations: 192 / 338.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.008578, allocations: 12.38 kB / 338.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.008589, allocations: 11.92 kB / 338.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.008752, allocations: 123.8 kB / 338.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008523/0.009605, allocations: 0.8594 MB / 339.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.009802, allocations: 144.8 kB / 339.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.00991, allocations: 83.52 kB / 339.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.009954, allocations: 16 kB / 339.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.00997, allocations: 37.39 kB / 339.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.009972, allocations: 0 / 339.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.001934/0.01191, allocations: 1.177 MB / 341.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.01193, allocations: 55.41 kB / 341.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01208, allocations: 318.3 kB / 341.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.01209, allocations: 33.7 kB / 341.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.01216, allocations: 255.1 kB / 341.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.0122, allocations: 118.9 kB / 341.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.01226, allocations: 75.28 kB / 342 MB, free: 7.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.01231, allocations: 0.5157 MB / 342.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.01238, allocations: 47.97 kB / 342.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.01247, allocations: 114.7 kB / 342.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.01263, allocations: 180.2 kB / 342.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01263, allocations: 4 kB / 342.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006787/0.01331, allocations: 497.8 kB / 343.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01332, allocations: 4 kB / 343.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01333, allocations: 4 kB / 343.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.01467, allocations: 0.5457 MB / 343.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01481, allocations: 59.91 kB / 343.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003796/0.01519, allocations: 1.701 MB / 345.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.01526, allocations: 12 kB / 345.6 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01527, allocations: 8 kB / 345.6 MB, free: 3.516 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 7.862e-05/0.01535, allocations: 176.5 kB / 345.8 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.01539, allocations: 55.77 kB / 345.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.01604, allocations: 435.7 kB / 346.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01604, allocations: 7.984 kB / 346.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01604, allocations: 0 / 346.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01605, allocations: 0 / 346.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.01688, allocations: 0.8277 MB / 347.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01688, allocations: 4 kB / 347.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.01699, allocations: 39.92 kB / 347.2 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.01824, allocations: 0.5574 MB / 347.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01826, allocations: 8 kB / 347.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004525/0.01871, allocations: 1.701 MB / 349.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.01871, allocations: 3.938 kB / 349.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.0195, allocations: 0.6275 MB / 350.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.01952, allocations: 23.81 kB / 350.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.01955, allocations: 15.94 kB / 350.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.01964, allocations: 11.98 kB / 350.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.01969, allocations: 19.97 kB / 350.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.0197, allocations: 12 kB / 350.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.01981, allocations: 215 kB / 350.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01981, allocations: 0 / 350.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000236/0.02005, allocations: 95.81 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/0.02023, allocations: 143 kB / 350.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.02059, allocations: 211.5 kB / 350.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0206, allocations: 0 / 350.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.02076, allocations: 131.8 kB / 350.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.021, allocations: 48.56 kB / 351 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.02202, allocations: 0.6464 MB / 351.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.02208, allocations: 101 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.02214, allocations: 22.28 kB / 351.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.02218, allocations: 24.5 kB / 351.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02218, allocations: 0 / 351.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of Templates: time 0.005831/0.02801, allocations: 3.383 MB / 355.1 MB, free: 9.766 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.813874772749841]