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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 189.5 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007475/0.007475, allocations: 1.237 MB / 291.3 MB, free: 1.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 351.8 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1002, allocations: 49.7 MB / 401.5 MB, free: 320 kB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.1932/0.2934, allocations: 2.827 MB / 404.4 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.2957, allocations: 1.631 MB / 406 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2959, allocations: 6.719 kB / 406 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.2966, allocations: 177.6 kB / 406.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.2969, allocations: 85.08 kB / 406.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.2975, allocations: 249.6 kB / 406.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.298, allocations: 399.3 kB / 406.9 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2982, allocations: 115.1 kB / 407 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2984, allocations: 140.8 kB / 407.1 MB, free: 7.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2986, allocations: 168.3 kB / 407.3 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.2986, allocations: 29 kB / 407.3 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.2989, allocations: 189.7 kB / 407.5 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.299, allocations: 83.41 kB / 407.6 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.2992, allocations: 169.5 kB / 407.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.2997, allocations: 455.5 kB / 408.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2998, allocations: 0.7969 kB / 408.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2998, allocations: 1.188 kB / 408.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.2998, allocations: 0 / 408.2 MB, free: 6.555 MB / 286.1 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.0009827/0.3008, allocations: 0.6536 MB / 408.9 MB, free: 6.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3008, allocations: 12.39 kB / 408.9 MB, free: 6.016 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.3009, allocations: 39.67 kB / 408.9 MB, free: 5.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3012, allocations: 281.2 kB / 409.2 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.3012, allocations: 23.97 kB / 409.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.3013, allocations: 27.44 kB / 409.2 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.3019, allocations: 268.3 kB / 409.5 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3019, allocations: 0 / 409.5 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.302, allocations: 14.91 kB / 409.5 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.302, allocations: 6.938 kB / 409.5 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3024, allocations: 245.6 kB / 409.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.304, allocations: 1.079 MB / 410.8 MB, free: 4.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.3044, allocations: 252.8 kB / 411.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.3047, allocations: 125.8 kB / 411.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.727e-05/0.3047, allocations: 14.3 kB / 411.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3048, allocations: 36.16 kB / 411.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.3048, allocations: 1.25 kB / 411.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.004541/0.3093, allocations: 1.635 MB / 412.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.3094, allocations: 56.05 kB / 412.9 MB, free: 3.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3097, allocations: 285.4 kB / 413.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3097, allocations: 31.08 kB / 413.3 MB, free: 3.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3098, allocations: 196.5 kB / 413.4 MB, free: 3.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.3099, allocations: 118 kB / 413.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.31, allocations: 63.19 kB / 413.6 MB, free: 3.234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.3101, allocations: 345.2 kB / 414 MB, free: 2.906 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3103, allocations: 123 kB / 414.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.3106, allocations: 172.8 kB / 414.3 MB, free: 2.773 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.3111, allocations: 292.4 kB / 414.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3111, allocations: 5.094 kB / 414.5 MB, free: 2.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001698/0.3128, allocations: 0.6305 MB / 415.2 MB, free: 2.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3128, allocations: 9.938 kB / 415.2 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3128, allocations: 0 / 415.2 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.3157, allocations: 0.5292 MB / 415.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.3161, allocations: 63.62 kB / 415.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009593/0.317, allocations: 1.281 MB / 417.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.3173, allocations: 14.47 kB / 417.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.3174, allocations: 9.781 kB / 417.1 MB, free: 1.141 MB / 286.1 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 0.0002745/0.3176, allocations: 165.8 kB / 417.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.3177, allocations: 31.12 kB / 417.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.3196, allocations: 0.5753 MB / 417.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3197, allocations: 3.688 kB / 417.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3197, allocations: 5.938 kB / 417.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.3197, allocations: 2.328 kB / 417.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.322, allocations: 1.063 MB / 418.9 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.322, allocations: 0 / 418.9 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.3222, allocations: 45.81 kB / 419 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/0.3251, allocations: 0.5244 MB / 419.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.3252, allocations: 8.125 kB / 419.5 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3262, allocations: 1.28 MB / 420.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3262, allocations: 0.5156 kB / 420.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3281, allocations: 0.8251 MB / 421.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3282, allocations: 106.8 kB / 421.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.3283, allocations: 7.062 kB / 421.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3285, allocations: 16.3 kB / 421.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.3286, allocations: 17.86 kB / 421.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3287, allocations: 12.22 kB / 421.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3289, allocations: 205 kB / 422 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3289, allocations: 0 / 422 MB, free: 14.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.3293, allocations: 91.14 kB / 422 MB, free: 14.27 MB / 302.1 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.0002151/0.3296, allocations: 141.7 kB / 422.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.3304, allocations: 339.4 kB / 422.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3305, allocations: 0 / 422.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.3309, allocations: 186 kB / 422.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3313, allocations: 41.69 kB / 422.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3328, allocations: 0.8838 MB / 423.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3332, allocations: 0.7875 MB / 424.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3333, allocations: 24.39 kB / 424.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.3334, allocations: 25.39 kB / 424.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3334, allocations: 3.938 kB / 424.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Templates: time 0.008399/0.3418, allocations: 3.666 MB / 428.1 MB, free: 11.12 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)