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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9586/0.9586, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.01216/0.01216, allocations: 0.9647 MB / 260.9 MB, free: 12.18 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 4 kB / 330.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.595e-05, allocations: 2.312 kB / 330.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002082/0.002108, allocations: 1.588 MB / 332.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003465, allocations: 1.238 MB / 333.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.003545, allocations: 4 kB / 333.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.004058, allocations: 147.2 kB / 333.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.004599, allocations: 274.7 kB / 334 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.92e-06/0.004604, allocations: 4 kB / 334 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.004717, allocations: 115.4 kB / 334.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.004756, allocations: 5.641 kB / 334.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.004812, allocations: 59.81 kB / 334.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004935, allocations: 59.8 kB / 334.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.004948, allocations: 4 kB / 334.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.005393, allocations: 367 kB / 334.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.005448, allocations: 35.89 kB / 334.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.005485, allocations: 31.86 kB / 334.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.005845, allocations: 326.8 kB / 335 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.005849, allocations: 0 / 335 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00585, allocations: 0 / 335 MB, free: 14.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005855, allocations: 0 / 335 MB, free: 14.56 MB / 266.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.0004891/0.006344, allocations: 0.511 MB / 335.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.006382, allocations: 8.031 kB / 335.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.006434, allocations: 20.8 kB / 335.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006595, allocations: 180.2 kB / 335.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.006605, allocations: 384 / 335.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.006619, allocations: 4.375 kB / 335.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.006724, allocations: 54.22 kB / 335.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.006734, allocations: 192 / 335.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.006745, allocations: 4.375 kB / 335.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006753, allocations: 7.938 kB / 335.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.006813, allocations: 51.88 kB / 335.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.006982, allocations: 184.5 kB / 336 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.007078, allocations: 58.98 kB / 336 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.007112, allocations: 23.67 kB / 336.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.007178, allocations: 43.91 kB / 336.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.007195, allocations: 41.61 kB / 336.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.007196, allocations: 0 / 336.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008548/0.008051, allocations: 229 kB / 336.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.008069, allocations: 51.41 kB / 336.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.008183, allocations: 269.6 kB / 336.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.008191, allocations: 29.7 kB / 336.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.008233, allocations: 166.9 kB / 336.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.008263, allocations: 31.73 kB / 336.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.008293, allocations: 27.38 kB / 336.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.00835, allocations: 0.5079 MB / 337.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.008379, allocations: 15.94 kB / 337.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.008401, allocations: 11.98 kB / 337.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.008459, allocations: 47.67 kB / 337.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00846, allocations: 0 / 337.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003467/0.008807, allocations: 145.1 kB / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.008822, allocations: 4 kB / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.008827, allocations: 0 / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.009399, allocations: 111.5 kB / 337.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.009454, allocations: 16 kB / 337.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.01058, allocations: 1.865 MB / 339.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.01063, allocations: 11.94 kB / 339.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.01064, allocations: 11.92 kB / 339.7 MB, free: 9.512 MB / 266.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 (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 5.718e-05/0.0107, allocations: 152.6 kB / 339.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.01072, allocations: 19.91 kB / 339.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.01109, allocations: 171.3 kB / 340 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.0111, allocations: 0 / 340 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.0111, allocations: 3.938 kB / 340 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0111, allocations: 3.938 kB / 340 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.0112, allocations: 184.5 kB / 340.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01121, allocations: 0 / 340.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.01123, allocations: 15.98 kB / 340.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/0.01171, allocations: 99.58 kB / 340.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01172, allocations: 11.92 kB / 340.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008299/0.01255, allocations: 1.861 MB / 342.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01255, allocations: 3.984 kB / 342.2 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.01287, allocations: 187.9 kB / 342.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.01289, allocations: 19.83 kB / 342.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.0129, allocations: 4 kB / 342.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.337e-05/0.01294, allocations: 4 kB / 342.4 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.01296, allocations: 15.91 kB / 342.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.01297, allocations: 0 / 342.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.303e-05/0.01303, allocations: 188.3 kB / 342.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01303, allocations: 0 / 342.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.01336, allocations: 79.8 kB / 342.7 MB, free: 6.293 MB / 266.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 (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.0002266/0.01359, allocations: 174.9 kB / 342.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.01391, allocations: 241.1 kB / 343.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01391, allocations: 0 / 343.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.01405, allocations: 213.8 kB / 343.3 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01426, allocations: 39.19 kB / 343.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.01593, allocations: 0.5242 MB / 343.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.01596, allocations: 75.77 kB / 343.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.016, allocations: 33.44 kB / 344 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.01603, allocations: 20.5 kB / 344 MB, free: 4.895 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01604, allocations: 0 / 344 MB, free: 4.895 MB / 266.7 MB Notification: Performance of Templates: time 0.004798/0.02083, allocations: 3.534 MB / 347.5 MB, free: 1.375 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (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=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9669789876788855]