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.0008514/0.0008514, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008749/0.0008749, allocations: 181 kB / 23.36 MB, free: 1.133 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.9799/0.9799, allocations: 177.2 MB / 203.8 MB, free: 5.457 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.01514/0.01514, allocations: 0.978 MB / 261.2 MB, free: 12.05 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.533e-06/1.533e-06, allocations: 0 / 278 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.248e-05, allocations: 5.688 kB / 278 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002859/0.002881, allocations: 1.625 MB / 279.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004529, allocations: 1.246 MB / 280.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.004578, allocations: 3.938 kB / 280.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.005038, allocations: 151.2 kB / 281 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.005513, allocations: 266.6 kB / 281.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.14e-06/0.005518, allocations: 0 / 281.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.00564, allocations: 119.4 kB / 281.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.005687, allocations: 6.297 kB / 281.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.00576, allocations: 63.81 kB / 281.5 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005903, allocations: 59.8 kB / 281.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.005915, allocations: 4 kB / 281.5 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.006367, allocations: 375 kB / 281.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.006416, allocations: 43.77 kB / 281.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.006448, allocations: 31.86 kB / 282 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.006787, allocations: 330.8 kB / 282.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006789, allocations: 0 / 282.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00679, allocations: 0 / 282.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.006793, allocations: 0 / 282.3 MB, free: 6.969 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.0003925/0.007186, allocations: 387.6 kB / 282.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.007217, allocations: 12.03 kB / 282.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.007248, allocations: 12.92 kB / 282.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.007408, allocations: 169.2 kB / 282.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.007416, allocations: 4.375 kB / 282.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.007425, allocations: 4.375 kB / 282.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.007511, allocations: 53.05 kB / 282.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.007519, allocations: 192 / 282.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.007527, allocations: 8.375 kB / 282.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.007534, allocations: 3.938 kB / 282.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.007584, allocations: 39.88 kB / 283 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.007715, allocations: 94.59 kB / 283.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.007794, allocations: 53.36 kB / 283.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.007817, allocations: 16.84 kB / 283.1 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.007875, allocations: 39.97 kB / 283.2 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.007894, allocations: 30.84 kB / 283.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.72e-07/0.007894, allocations: 3.938 kB / 283.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007244/0.008619, allocations: 194.3 kB / 283.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.008644, allocations: 55.34 kB / 283.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.008759, allocations: 194.3 kB / 283.6 MB, free: 5.492 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.008771, allocations: 25.7 kB / 283.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.008802, allocations: 100.1 kB / 283.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.008834, allocations: 27.75 kB / 283.8 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.008866, allocations: 25.69 kB / 283.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.008949, allocations: 326.8 kB / 284.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.008966, allocations: 18.75 kB / 284.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.00898, allocations: 11.94 kB / 284.2 MB, free: 4.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.009027, allocations: 40.16 kB / 284.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.009029, allocations: 0 / 284.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002879/0.009317, allocations: 106.4 kB / 284.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.009329, allocations: 11.94 kB / 284.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.009332, allocations: 0 / 284.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/0.009834, allocations: 108.7 kB / 284.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.895e-05/0.009873, allocations: 11.94 kB / 284.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009883/0.01086, allocations: 1.264 MB / 285.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.01089, allocations: 7.953 kB / 285.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.0109, allocations: 0 / 285.7 MB, free: 3.297 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 6.158e-05/0.01096, allocations: 124.6 kB / 285.8 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.01097, allocations: 16.05 kB / 285.8 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.01129, allocations: 139.8 kB / 286 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01129, allocations: 0 / 286 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01129, allocations: 0 / 286 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.0113, allocations: 0 / 286 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.757e-05/0.01139, allocations: 113.7 kB / 286.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.0114, allocations: 0 / 286.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.01142, allocations: 16 kB / 286.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.01186, allocations: 100.7 kB / 286.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.01187, allocations: 4 kB / 286.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.01271, allocations: 1.268 MB / 287.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01271, allocations: 0 / 287.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.013, allocations: 151.7 kB / 287.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.01302, allocations: 23.89 kB / 287.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.01303, allocations: 4 kB / 287.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.01305, allocations: 0 / 287.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.01307, allocations: 15.91 kB / 287.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.01308, allocations: 0 / 287.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.01312, allocations: 65.95 kB / 287.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01312, allocations: 0 / 287.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01332, allocations: 79.75 kB / 287.8 MB, free: 1.031 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.0001704/0.01349, allocations: 156 kB / 288 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01374, allocations: 171.1 kB / 288.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.01375, allocations: 4 kB / 288.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.01388, allocations: 163.7 kB / 288.3 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.014, allocations: 24.23 kB / 288.3 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09436/0.1084, allocations: 0.5162 MB / 288.8 MB, free: 24.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.1084, allocations: 85.17 kB / 288.9 MB, free: 24.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1085, allocations: 11.47 kB / 288.9 MB, free: 24.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1085, allocations: 65.62 kB / 289 MB, free: 24.84 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1085, allocations: 0 / 289 MB, free: 24.84 MB / 266.7 MB Notification: Performance of Templates: time 0.005819/0.1143, allocations: 3.771 MB / 292.8 MB, free: 24.59 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.651651978958398]