Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00148/0.00148, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00744/0.007441, allocations: 1.218 MB / 292.2 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003278, allocations: 8 kB / 353.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 50.68 MB / 404 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.001574/0.3509, allocations: 0.938 MB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3522, allocations: 0.6053 MB / 405.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.3522, allocations: 0.9375 kB / 405.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3525, allocations: 18.8 kB / 405.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3529, allocations: 62.53 kB / 405.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.3529, allocations: 0 / 405.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.353, allocations: 12.56 kB / 405.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.353, allocations: 5.984 kB / 405.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.3531, allocations: 22.78 kB / 405.7 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.3532, allocations: 9.766 kB / 405.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.3532, allocations: 1.125 kB / 405.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.3536, allocations: 128.8 kB / 405.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.3537, allocations: 7.531 kB / 405.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.3537, allocations: 28.27 kB / 405.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3539, allocations: 73.19 kB / 405.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3539, allocations: 0 / 405.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3539, allocations: 0 / 405.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.354, allocations: 0 / 405.9 MB, free: 9.395 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004391/0.3544, allocations: 361.8 kB / 406.3 MB, free: 9.012 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3545, allocations: 13.5 kB / 406.3 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3545, allocations: 6.188 kB / 406.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3547, allocations: 180.2 kB / 406.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3547, allocations: 1.062 kB / 406.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.3548, allocations: 4.938 kB / 406.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3549, allocations: 46.2 kB / 406.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3549, allocations: 0 / 406.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3549, allocations: 0.7969 kB / 406.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3549, allocations: 9.297 kB / 406.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.355, allocations: 28.73 kB / 406.6 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.3552, allocations: 174 kB / 406.7 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.3556, allocations: 75.83 kB / 406.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.3556, allocations: 11.55 kB / 406.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3557, allocations: 32.11 kB / 406.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3557, allocations: 4 kB / 406.9 MB, free: 8.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.00231/0.358, allocations: 0.6012 MB / 407.5 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.358, allocations: 55.36 kB / 407.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.3581, allocations: 123.2 kB / 407.6 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3582, allocations: 25.7 kB / 407.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3582, allocations: 87.84 kB / 407.8 MB, free: 8.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3582, allocations: 20.44 kB / 407.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.3583, allocations: 1.094 kB / 407.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.3583, allocations: 322.1 kB / 408.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3586, allocations: 152.4 kB / 408.2 MB, free: 7.652 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.3589, allocations: 157 kB / 408.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3591, allocations: 157 kB / 408.5 MB, free: 7.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.3591, allocations: 0 / 408.5 MB, free: 7.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006042/0.3598, allocations: 367.6 kB / 408.9 MB, free: 7.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3598, allocations: 10.28 kB / 408.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3598, allocations: 0 / 408.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3598, allocations: 0 / 408.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.36, allocations: 32.52 kB / 408.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3601, allocations: 9.234 kB / 409 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3602, allocations: 3.203 kB / 409 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.3603, allocations: 30.97 kB / 409 MB, free: 7.457 MB / 286.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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/0.3604, allocations: 115.2 kB / 409.1 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3604, allocations: 3.312 kB / 409.1 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.3609, allocations: 287 kB / 409.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.361, allocations: 3.906 kB / 409.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.361, allocations: 0.6094 kB / 409.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.361, allocations: 3.953 kB / 409.4 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.362, allocations: 0.5892 MB / 410 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3621, allocations: 2.469 kB / 410 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3622, allocations: 23.33 kB / 410 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3622, allocations: 2.062 kB / 410 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.3623, allocations: 11.47 kB / 410 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3623, allocations: 1.125 kB / 410 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3623, allocations: 0 / 410 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.3628, allocations: 350 kB / 410.4 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3629, allocations: 80.58 kB / 410.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.3629, allocations: 13.17 kB / 410.5 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.363, allocations: 4.531 kB / 410.5 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3631, allocations: 9.766 kB / 410.5 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3631, allocations: 16.5 kB / 410.5 MB, free: 6.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.3632, allocations: 103.6 kB / 410.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3632, allocations: 0 / 410.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3635, allocations: 23.58 kB / 410.6 MB, free: 6.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002479/0.3638, allocations: 124.8 kB / 410.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.3641, allocations: 218.3 kB / 410.9 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3641, allocations: 0 / 410.9 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3643, allocations: 89.89 kB / 411 MB, free: 6.273 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3645, allocations: 3.859 kB / 411 MB, free: 6.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.3649, allocations: 249.2 kB / 411.3 MB, free: 6.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.3651, allocations: 0.6931 MB / 412 MB, free: 5.418 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.3652, allocations: 27.47 kB / 412 MB, free: 5.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.3653, allocations: 23.02 kB / 412 MB, free: 5.398 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3653, allocations: 0 / 412 MB, free: 5.398 MB / 286.1 MB Notification: Performance of Templates: time 0.006001/0.3713, allocations: 2.023 MB / 414 MB, free: 5.234 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile Environment - environmentSimulation: (rm -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) Environment - environmentSimulation: