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.001434/0.001434, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001572/0.001572, allocations: 169 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.9605/0.9605, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.004999/0.004999, allocations: 0.9645 MB / 262 MB, free: 12.04 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.342e-06/1.342e-06, allocations: 0 / 332 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.308e-05, allocations: 4.703 kB / 332 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.002731/0.002745, allocations: 2.807 MB / 334.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.004607, allocations: 1.643 MB / 336.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.004775, allocations: 8 kB / 336.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.005388, allocations: 190.9 kB / 336.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.005576, allocations: 107.1 kB / 336.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.006132, allocations: 307 kB / 337 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.006544, allocations: 410.2 kB / 337.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.006684, allocations: 70.05 kB / 337.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.006903, allocations: 223.4 kB / 337.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.007045, allocations: 127.6 kB / 337.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.007075, allocations: 28 kB / 337.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.007312, allocations: 179.6 kB / 338 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.00738, allocations: 83.66 kB / 338.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.00746, allocations: 111.8 kB / 338.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.007799, allocations: 342.8 kB / 338.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.007801, allocations: 4 kB / 338.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007802, allocations: 0 / 338.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007807, allocations: 3.938 kB / 338.6 MB, free: 12.96 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006899/0.008496, allocations: 0.6866 MB / 339.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.008528, allocations: 12.03 kB / 339.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.008668, allocations: 68.66 kB / 339.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.008877, allocations: 227.5 kB / 339.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.008898, allocations: 25.03 kB / 339.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.008928, allocations: 28.38 kB / 339.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.009154, allocations: 213 kB / 339.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009162, allocations: 192 / 339.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.009179, allocations: 12.31 kB / 339.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.009187, allocations: 11.94 kB / 339.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.009299, allocations: 96.48 kB / 339.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.01017, allocations: 0.8208 MB / 340.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.01034, allocations: 130.7 kB / 340.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.01042, allocations: 59.72 kB / 340.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.01046, allocations: 24.03 kB / 341 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.01048, allocations: 41.33 kB / 341 MB, free: 10.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.042e-06/0.01048, allocations: 0 / 341 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001886/0.01237, allocations: 1.062 MB / 342.1 MB, free: 9.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.01239, allocations: 59.41 kB / 342.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.01255, allocations: 310.2 kB / 342.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01257, allocations: 33.7 kB / 342.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01268, allocations: 267 kB / 342.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.01274, allocations: 122.9 kB / 342.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.01282, allocations: 71.31 kB / 342.9 MB, free: 8.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01295, allocations: 0.5234 MB / 343.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.013, allocations: 35.97 kB / 343.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.01309, allocations: 106.6 kB / 343.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.01324, allocations: 168.2 kB / 343.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01324, allocations: 0 / 343.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000678/0.01392, allocations: 441.9 kB / 344.2 MB, free: 7.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01393, allocations: 4 kB / 344.2 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01393, allocations: 0 / 344.2 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.01531, allocations: 0.4989 MB / 344.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01544, allocations: 63.89 kB / 344.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.01603, allocations: 1.697 MB / 346.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.01612, allocations: 8 kB / 346.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01613, allocations: 12 kB / 346.5 MB, free: 4.691 MB / 314.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 9.715e-05/0.01623, allocations: 168.5 kB / 346.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.01628, allocations: 47.7 kB / 346.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.01691, allocations: 403.7 kB / 347.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01691, allocations: 4 kB / 347.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01691, allocations: 0 / 347.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01692, allocations: 3.984 kB / 347.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.01781, allocations: 0.7462 MB / 347.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01781, allocations: 0 / 347.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01791, allocations: 43.92 kB / 347.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.01923, allocations: 0.4951 MB / 348.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01925, allocations: 7.938 kB / 348.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005496/0.0198, allocations: 1.697 MB / 350.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0198, allocations: 4 kB / 350.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.02048, allocations: 0.5844 MB / 350.7 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.02051, allocations: 31.75 kB / 350.7 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.02054, allocations: 8.031 kB / 350.7 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.02062, allocations: 12 kB / 350.7 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.02066, allocations: 23.95 kB / 350.7 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.02067, allocations: 4 kB / 350.7 MB, free: 236 kB / 314.7 MB Notification: Performance of sorting global known variables: time 9.788e-05/0.02077, allocations: 211 kB / 350.9 MB, free: 28 kB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02077, allocations: 0 / 350.9 MB, free: 28 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.02106, allocations: 87.92 kB / 351 MB, free: 15.94 MB / 330.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.0001674/0.02122, allocations: 143 kB / 351.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.02153, allocations: 199.6 kB / 351.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.02154, allocations: 7.938 kB / 351.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.0217, allocations: 115.3 kB / 351.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.02196, allocations: 48.52 kB / 351.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.02286, allocations: 0.6536 MB / 352.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.748e-05/0.02292, allocations: 101 kB / 352.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.02299, allocations: 26.27 kB / 352.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.02307, allocations: 102.1 kB / 352.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02307, allocations: 0 / 352.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of Templates: time 0.005435/0.02851, allocations: 3.515 MB / 355.9 MB, free: 10.99 MB / 330.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.9499274902045727]