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.0009221/0.0009221, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001389/0.001389, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.971/0.971, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.005015/0.005015, allocations: 0.9686 MB / 261.2 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.703e-06/1.703e-06, allocations: 3.938 kB / 331.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.355e-05, allocations: 2.312 kB / 331.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003675/0.003698, allocations: 2.81 MB / 334 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.00587, allocations: 1.643 MB / 335.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.006036, allocations: 7.938 kB / 335.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.00675, allocations: 190.9 kB / 335.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.00694, allocations: 107 kB / 336 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.007472, allocations: 311 kB / 336.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.007874, allocations: 406.2 kB / 336.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.008025, allocations: 70.05 kB / 336.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.008253, allocations: 223.4 kB / 336.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.008405, allocations: 123.7 kB / 337.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.00844, allocations: 28 kB / 337.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.008674, allocations: 179.5 kB / 337.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.008747, allocations: 87.67 kB / 337.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.008824, allocations: 107.8 kB / 337.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.009167, allocations: 350.7 kB / 337.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.009169, allocations: 0 / 337.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00917, allocations: 0 / 337.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.009174, allocations: 0 / 337.8 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.0007193/0.009894, allocations: 0.6904 MB / 338.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.009938, allocations: 16.02 kB / 338.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.01007, allocations: 68.66 kB / 338.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.0103, allocations: 231.5 kB / 338.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.01032, allocations: 21.03 kB / 338.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.01036, allocations: 24.38 kB / 338.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.0106, allocations: 213 kB / 339.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.01061, allocations: 192 / 339.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.01063, allocations: 16.38 kB / 339.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01064, allocations: 11.94 kB / 339.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.01075, allocations: 92.44 kB / 339.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.01163, allocations: 0.8169 MB / 340 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.0118, allocations: 130.7 kB / 340.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.01189, allocations: 63.66 kB / 340.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.01194, allocations: 23.36 kB / 340.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.01196, allocations: 41.33 kB / 340.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.01197, allocations: 0 / 340.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002012/0.01398, allocations: 1.073 MB / 341.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.014, allocations: 55.41 kB / 341.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.01423, allocations: 326.1 kB / 341.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01425, allocations: 29.7 kB / 341.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01438, allocations: 255.1 kB / 342 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.01445, allocations: 130.9 kB / 342.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.01453, allocations: 71.33 kB / 342.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.01472, allocations: 0.5156 MB / 342.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.01477, allocations: 39.97 kB / 342.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.01486, allocations: 106.6 kB / 342.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.01503, allocations: 156.2 kB / 343 MB, free: 7.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01503, allocations: 0 / 343 MB, free: 7.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007587/0.01579, allocations: 461.8 kB / 343.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.01581, allocations: 8 kB / 343.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.01581, allocations: 4 kB / 343.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.01718, allocations: 0.5184 MB / 344 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.01731, allocations: 55.97 kB / 344 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.01928, allocations: 3.315 MB / 347.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/0.01936, allocations: 8 kB / 347.3 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01937, allocations: 11.98 kB / 347.3 MB, free: 2.945 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.01949, allocations: 180.5 kB / 347.5 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.01953, allocations: 39.81 kB / 347.6 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.0202, allocations: 427.4 kB / 348 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.02021, allocations: 4 kB / 348 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.02021, allocations: 0 / 348 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.02022, allocations: 7.984 kB / 348 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.02118, allocations: 0.7813 MB / 348.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02119, allocations: 0 / 348.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.02129, allocations: 43.92 kB / 348.8 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.02257, allocations: 0.5223 MB / 349.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.02258, allocations: 4 kB / 349.3 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.02442, allocations: 3.308 MB / 352.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02442, allocations: 0 / 352.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.02519, allocations: 0.6161 MB / 353.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.02521, allocations: 23.81 kB / 353.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.02524, allocations: 11.98 kB / 353.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.02532, allocations: 8 kB / 353.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.02537, allocations: 35.88 kB / 353.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.02538, allocations: 8 kB / 353.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.02549, allocations: 203 kB / 353.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02549, allocations: 4.031 kB / 353.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.02583, allocations: 111.9 kB / 353.7 MB, free: 12.36 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.02602, allocations: 139 kB / 353.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.02646, allocations: 393.3 kB / 354.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.02646, allocations: 256 / 354.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.02671, allocations: 336.9 kB / 354.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.02699, allocations: 42.61 kB / 354.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02804, allocations: 0.662 MB / 355.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.173e-05/0.02812, allocations: 109.3 kB / 355.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.02818, allocations: 18.28 kB / 355.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.632e-05/0.02828, allocations: 102.2 kB / 355.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02828, allocations: 7.938 kB / 355.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Templates: time 0.006988/0.03527, allocations: 4.58 MB / 360 MB, free: 5.914 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.8100545397028327]