Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008419/0.008419, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.009244/0.009245, allocations: 1.227 MB / 17.08 MB, free: 4.875 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.243/1.243, allocations: 223.2 MB / 241.3 MB, free: 8.715 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008516, allocations: 97.25 kB / 292.7 MB, free: 9.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8 kB / 353.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 50.68 MB / 404.6 MB, free: 30.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3238, allocations: 80.24 MB / 484.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.3241, allocations: 63.97 kB / 484.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03689/0.361, allocations: 12.73 MB / 497.6 MB, free: 1.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3611, allocations: 0 / 497.6 MB, free: 1.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3611, allocations: 4 kB / 497.6 MB, free: 1.648 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000556/0.3617, allocations: 474.6 kB / 498.1 MB, free: 1.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3617, allocations: 16.02 kB / 498.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3618, allocations: 15.81 kB / 498.1 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3621, allocations: 230.7 kB / 498.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3621, allocations: 4 kB / 498.3 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3621, allocations: 4 kB / 498.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3623, allocations: 117.6 kB / 498.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3623, allocations: 0 / 498.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3623, allocations: 3.953 kB / 498.4 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.3624, allocations: 0 / 498.4 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.3626, allocations: 183.8 kB / 498.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.3629, allocations: 265.5 kB / 498.9 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3632, allocations: 174.4 kB / 499.1 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.479e-05/0.3633, allocations: 43.94 kB / 499.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3633, allocations: 34.5 kB / 499.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.3633, allocations: 0 / 499.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001862/0.3652, allocations: 483.2 kB / 499.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3652, allocations: 51.41 kB / 499.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3654, allocations: 198.1 kB / 499.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3654, allocations: 29.7 kB / 499.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.3655, allocations: 116.1 kB / 500 MB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3656, allocations: 31.55 kB / 0.4883 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.3656, allocations: 0 / 0.4883 GB, free: 15.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3657, allocations: 326.8 kB / 0.4886 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3658, allocations: 67.94 kB / 0.4887 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.279e-05/0.3659, allocations: 71.94 kB / 0.4887 GB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.366, allocations: 67.94 kB / 0.4888 GB, free: 14.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.366, allocations: 4 kB / 0.4888 GB, free: 14.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008451/0.3669, allocations: 266.7 kB / 0.4891 GB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3669, allocations: 7.953 kB / 0.4891 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3669, allocations: 4 kB / 0.4891 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007272/0.3677, allocations: 80.8 kB / 0.4892 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.3677, allocations: 27.92 kB / 0.4892 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.3697, allocations: 1.445 MB / 0.4906 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.3698, allocations: 3.984 kB / 0.4906 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3698, allocations: 12.03 kB / 0.4906 GB, free: 12.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.3699, allocations: 129.8 kB / 0.4907 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.37, allocations: 19.77 kB / 0.4908 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.371, allocations: 331.5 kB / 0.4911 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.371, allocations: 0 / 0.4911 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.371, allocations: 0 / 0.4911 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.371, allocations: 0 / 0.4911 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.3713, allocations: 257.5 kB / 0.4913 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3713, allocations: 0 / 0.4913 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.3713, allocations: 19.94 kB / 0.4913 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006972/0.372, allocations: 80.7 kB / 0.4914 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3721, allocations: 4 kB / 0.4914 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.3739, allocations: 1.444 MB / 0.4928 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3739, allocations: 7.922 kB / 0.4928 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.3748, allocations: 297.4 kB / 0.4931 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.3749, allocations: 96.92 kB / 0.4932 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.375, allocations: 4.062 kB / 0.4932 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.375, allocations: 0 / 0.4932 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3751, allocations: 15.97 kB / 0.4932 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.3751, allocations: 15.98 kB / 0.4932 GB, free: 9.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3752, allocations: 168.2 kB / 0.4934 GB, free: 9.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3752, allocations: 0 / 0.4934 GB, free: 9.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00037/0.3756, allocations: 83.94 kB / 0.4935 GB, free: 9.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003346/0.376, allocations: 195 kB / 0.4937 GB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.3765, allocations: 270.5 kB / 0.4939 GB, free: 8.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3766, allocations: 0 / 0.4939 GB, free: 8.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.3769, allocations: 206.6 kB / 0.4941 GB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.3771, allocations: 26.12 kB / 0.4942 GB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/0.41, allocations: 1.475 MB / 0.4956 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4103, allocations: 0.7238 MB / 0.4963 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.4104, allocations: 17.06 kB / 0.4963 GB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.4104, allocations: 19.44 kB / 0.4963 GB, free: 6.285 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4104, allocations: 0 / 0.4963 GB, free: 6.285 MB / 378.7 MB Notification: Performance of Templates: time 0.00672/0.4172, allocations: 3.358 MB / 0.4996 GB, free: 2.941 MB / 378.7 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)