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.006802/0.006802, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001368/0.001368, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.02647/0.02647, allocations: 1.232 MB / 291.8 MB, free: 13.65 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 56.05 kB / 403.3 MB, free: 31.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 49.71 MB / 453 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002582/0.114, allocations: 1.549 MB / 454.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1158, allocations: 1.265 MB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.1159, allocations: 0 / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1164, allocations: 151.4 kB / 455.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.117, allocations: 262.9 kB / 456.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.664e-06/0.117, allocations: 4 kB / 456.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1172, allocations: 103.5 kB / 456.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.1172, allocations: 9.438 kB / 456.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1174, allocations: 55.72 kB / 456.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1175, allocations: 67.73 kB / 456.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1175, allocations: 4 kB / 456.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.1181, allocations: 411.1 kB / 456.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.1182, allocations: 35.83 kB / 456.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.1183, allocations: 55.61 kB / 456.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.1187, allocations: 339 kB / 457.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1187, allocations: 0 / 457.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1187, allocations: 0 / 457.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1187, allocations: 0 / 457.3 MB, free: 9.527 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.0006463/0.1194, allocations: 494.3 kB / 457.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1194, allocations: 8.031 kB / 457.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1195, allocations: 16.75 kB / 457.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1197, allocations: 243.6 kB / 458 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.1197, allocations: 4.375 kB / 458 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1198, allocations: 4.375 kB / 458 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1199, allocations: 109.9 kB / 458.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1199, allocations: 3.938 kB / 458.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.12, allocations: 4 kB / 458.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.12, allocations: 0 / 458.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.1201, allocations: 143.9 kB / 458.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.1204, allocations: 257.6 kB / 458.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1206, allocations: 154.5 kB / 458.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.1207, allocations: 72.83 kB / 458.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.94e-05/0.1208, allocations: 35.97 kB / 458.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1208, allocations: 42.5 kB / 458.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1208, allocations: 0 / 458.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001706/0.1225, allocations: 439.3 kB / 459.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1226, allocations: 51.41 kB / 459.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1228, allocations: 216.2 kB / 459.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1228, allocations: 29.7 kB / 459.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1229, allocations: 116.1 kB / 459.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.1229, allocations: 31.55 kB / 459.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.123, allocations: 25.7 kB / 459.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1231, allocations: 330.8 kB / 460 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.1232, allocations: 59.97 kB / 460.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.1233, allocations: 59.97 kB / 460.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1234, allocations: 137.3 kB / 460.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1234, allocations: 0 / 460.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007401/0.1242, allocations: 242.1 kB / 460.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1242, allocations: 4 kB / 460.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1242, allocations: 3.984 kB / 460.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.1249, allocations: 76.78 kB / 460.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.125, allocations: 15.94 kB / 460.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.127, allocations: 1.55 MB / 462.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.1271, allocations: 15.94 kB / 462.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1271, allocations: 3.984 kB / 462.2 MB, free: 4.203 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.0001026/0.1272, allocations: 121.8 kB / 462.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1273, allocations: 15.91 kB / 462.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.1281, allocations: 271.6 kB / 462.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1281, allocations: 4 kB / 462.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1281, allocations: 3.984 kB / 462.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1281, allocations: 0 / 462.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.1283, allocations: 257.6 kB / 462.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1284, allocations: 7.938 kB / 462.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.1284, allocations: 15.98 kB / 462.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000614/0.129, allocations: 64.78 kB / 462.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1291, allocations: 4 kB / 462.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.1308, allocations: 1.547 MB / 464.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1308, allocations: 0 / 464.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.1316, allocations: 265.7 kB / 464.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1317, allocations: 88.92 kB / 464.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1317, allocations: 15.92 kB / 464.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.1318, allocations: 7.875 kB / 464.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1318, allocations: 11.98 kB / 464.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1318, allocations: 4 kB / 464.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.132, allocations: 163.3 kB / 465 MB, free: 1.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.132, allocations: 0 / 465 MB, free: 1.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.1323, allocations: 79.92 kB / 465.1 MB, free: 1.035 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.0002728/0.1326, allocations: 159.1 kB / 465.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.1331, allocations: 282.4 kB / 465.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1332, allocations: 0 / 465.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.1335, allocations: 203 kB / 465.7 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1338, allocations: 28.64 kB / 465.8 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.1372, allocations: 0.5739 MB / 466.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1375, allocations: 0.7161 MB / 467.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.1376, allocations: 24.88 kB / 467.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.1376, allocations: 19.44 kB / 467.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1376, allocations: 0 / 467.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of Templates: time 0.006629/0.1443, allocations: 3.174 MB / 470.3 MB, free: 11.79 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)