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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 104 kB / 16.41 MB, free: 6.512 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.002088/0.002089, allocations: 187 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01389/0.01389, allocations: 1.239 MB / 292.4 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.03 kB / 404 MB, free: 31.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1088, allocations: 49.71 MB / 453.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.00327/0.1121, allocations: 1.546 MB / 455.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1144, allocations: 1.261 MB / 456.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1145, allocations: 0 / 456.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.1152, allocations: 155.3 kB / 456.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.1162, allocations: 258.8 kB / 456.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.308e-05/0.1162, allocations: 0 / 456.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1165, allocations: 119.4 kB / 457 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.1165, allocations: 5.453 kB / 457 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1167, allocations: 51.72 kB / 457 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1169, allocations: 71.67 kB / 457.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1169, allocations: 4 kB / 457.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.1177, allocations: 407.2 kB / 457.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.1178, allocations: 43.75 kB / 457.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1179, allocations: 51.67 kB / 457.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.1185, allocations: 335 kB / 457.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1186, allocations: 4 kB / 457.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1186, allocations: 0 / 457.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1186, allocations: 0 / 457.9 MB, free: 9.508 MB / 334.1 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.0008485/0.1194, allocations: 486.5 kB / 458.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1195, allocations: 15.83 kB / 458.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.1196, allocations: 16.75 kB / 458.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1199, allocations: 247.5 kB / 458.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1199, allocations: 8.375 kB / 458.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1199, allocations: 384 / 458.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1201, allocations: 106 kB / 458.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1201, allocations: 0 / 458.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1201, allocations: 4 kB / 458.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1201, allocations: 0 / 458.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.1203, allocations: 151.8 kB / 459 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.1207, allocations: 261.6 kB / 459.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1209, allocations: 146.5 kB / 459.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.121, allocations: 68.83 kB / 459.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.1211, allocations: 39.95 kB / 459.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1211, allocations: 42.78 kB / 459.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1211, allocations: 4 kB / 459.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.00176/0.1229, allocations: 435 kB / 459.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.123, allocations: 63.39 kB / 460 MB, free: 7.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1232, allocations: 208.2 kB / 460.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1232, allocations: 29.7 kB / 460.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.1233, allocations: 112.1 kB / 460.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.1234, allocations: 39.48 kB / 460.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1234, allocations: 25.7 kB / 460.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1236, allocations: 326.8 kB / 460.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.1236, allocations: 55.97 kB / 460.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.1237, allocations: 63.97 kB / 460.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1239, allocations: 136.7 kB / 461 MB, free: 6.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1239, allocations: 0 / 461 MB, free: 6.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007616/0.1247, allocations: 242.1 kB / 461.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1247, allocations: 4 kB / 461.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1247, allocations: 0 / 461.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006895/0.1254, allocations: 77.44 kB / 461.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.1255, allocations: 15.98 kB / 461.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.1276, allocations: 1.553 MB / 462.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.1277, allocations: 11.89 kB / 462.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1277, allocations: 4.031 kB / 462.9 MB, free: 4.188 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.1278, allocations: 129.8 kB / 463 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1278, allocations: 15.81 kB / 463 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.1287, allocations: 267.7 kB / 463.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1287, allocations: 7.984 kB / 463.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1287, allocations: 0 / 463.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1287, allocations: 0 / 463.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1289, allocations: 253.5 kB / 463.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.129, allocations: 7.922 kB / 463.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.129, allocations: 16 kB / 463.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.1296, allocations: 68.78 kB / 463.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1297, allocations: 7.984 kB / 463.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.1315, allocations: 1.539 MB / 465.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1315, allocations: 0 / 465.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.1323, allocations: 269.7 kB / 465.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1324, allocations: 92.91 kB / 465.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1324, allocations: 4 kB / 465.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.1325, allocations: 7.938 kB / 465.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1325, allocations: 7.984 kB / 465.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1325, allocations: 11.98 kB / 465.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1327, allocations: 167.3 kB / 465.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1327, allocations: 0 / 465.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.1331, allocations: 75.94 kB / 465.8 MB, free: 1.02 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003286/0.1334, allocations: 159.1 kB / 465.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.134, allocations: 274.5 kB / 466.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.134, allocations: 0 / 466.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.1344, allocations: 206.6 kB / 466.4 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1347, allocations: 26.73 kB / 466.4 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.1383, allocations: 0.5989 MB / 467 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1387, allocations: 0.7278 MB / 467.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1387, allocations: 19.44 kB / 467.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1387, allocations: 0 / 467.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Templates: time 0.005842/0.1446, allocations: 3.012 MB / 470.8 MB, free: 11.91 MB / 350.1 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)