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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.008703/0.008703, allocations: 1.182 MB / 14.44 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 236.6 MB, free: 1.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008989/0.000899, allocations: 95.86 kB / 287.8 MB, free: 5.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.29e-05, allocations: 4 kB / 346.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 50.67 MB / 397.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5326, allocations: 84.34 MB / 481.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5329, allocations: 69.91 kB / 481.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02842/0.5613, allocations: 11.28 MB / 492.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5613, allocations: 0 / 492.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.5614, allocations: 12 kB / 492.8 MB, free: 15.8 MB / 362.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.0008923/0.5623, allocations: 0.5598 MB / 493.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5623, allocations: 16.03 kB / 493.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.5624, allocations: 35.53 kB / 493.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.5628, allocations: 285.1 kB / 493.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.5628, allocations: 15.31 kB / 493.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.5629, allocations: 29.81 kB / 493.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.5634, allocations: 258.2 kB / 493.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5634, allocations: 0 / 493.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.5634, allocations: 13.5 kB / 494 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5634, allocations: 4 kB / 494 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.5638, allocations: 238.7 kB / 494.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.5656, allocations: 1.111 MB / 495.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.566, allocations: 248.4 kB / 495.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.5663, allocations: 120.7 kB / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.5663, allocations: 15.69 kB / 495.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.5664, allocations: 34.55 kB / 495.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/0.5664, allocations: 4 kB / 495.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003731/0.5701, allocations: 1.349 MB / 497.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.5702, allocations: 55.41 kB / 497.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.5705, allocations: 247.4 kB / 497.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.5705, allocations: 35.33 kB / 497.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5706, allocations: 196.5 kB / 497.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.5707, allocations: 122.2 kB / 497.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.5708, allocations: 6.375 kB / 497.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5709, allocations: 340 kB / 498 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.5711, allocations: 114.9 kB / 498.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.5714, allocations: 164.5 kB / 498.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.5716, allocations: 133.2 kB / 498.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5716, allocations: 0 / 498.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001683/0.5733, allocations: 0.6329 MB / 499.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5733, allocations: 8 kB / 499.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5734, allocations: 0 / 499.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.5762, allocations: 0.5374 MB / 499.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.5765, allocations: 59.91 kB / 499.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.5775, allocations: 1.295 MB / 0.4892 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.5778, allocations: 15.78 kB / 0.4893 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.5779, allocations: 20.11 kB / 0.4893 GB, free: 8.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.578, allocations: 120.4 kB / 0.4894 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.5781, allocations: 31.62 kB / 0.4894 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.5798, allocations: 0.5943 MB / 0.49 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5798, allocations: 5.688 kB / 0.49 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5799, allocations: 0 / 0.49 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5799, allocations: 3.984 kB / 0.49 GB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.582, allocations: 1.048 MB / 0.491 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.582, allocations: 4 kB / 0.491 GB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.5823, allocations: 51.72 kB / 0.4911 GB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.585, allocations: 0.5338 MB / 0.4916 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.5851, allocations: 15.55 kB / 0.4916 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009957/0.5861, allocations: 1.287 MB / 0.4929 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5861, allocations: 7.922 kB / 0.4929 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.5879, allocations: 0.8177 MB / 0.4937 GB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.588, allocations: 104 kB / 0.4938 GB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.5881, allocations: 11.11 kB / 0.4938 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.5883, allocations: 19.58 kB / 0.4938 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.5884, allocations: 19.03 kB / 0.4938 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.5884, allocations: 19.44 kB / 0.4939 GB, free: 4.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.5886, allocations: 195.4 kB / 0.494 GB, free: 4.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5886, allocations: 0 / 0.494 GB, free: 4.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004882/0.5891, allocations: 99.8 kB / 0.4941 GB, free: 4.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.5895, allocations: 156.4 kB / 0.4943 GB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.5901, allocations: 304.3 kB / 0.4946 GB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5901, allocations: 4.062 kB / 0.4946 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.5905, allocations: 168.9 kB / 0.4947 GB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.5908, allocations: 34.19 kB / 0.4948 GB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.5919, allocations: 0.5069 MB / 0.4953 GB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.5924, allocations: 0.7915 MB / 0.496 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.5925, allocations: 22.06 kB / 0.4961 GB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.5926, allocations: 23.44 kB / 0.4961 GB, free: 2.238 MB / 362.7 MB Notification: Performance of SimCode: time 3.887e-06/0.5926, allocations: 0 / 0.4961 GB, free: 2.238 MB / 362.7 MB Notification: Performance of Templates: time 0.008116/0.6007, allocations: 3.9 MB / 0.4999 GB, free: 14.38 MB / 378.7 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)