Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.0008525/0.0008525, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001942, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006597/0.0006597, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008398/0.0015, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8653/0.8653, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07474/0.94, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006912/0.006912, allocations: 0.9669 MB / 244.9 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.008711, allocations: 0.6897 MB / 245.6 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] 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.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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 246.9 MB, free: 12.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.434e-06/8.306e-06, allocations: 2.312 kB / 246.9 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.002618/0.002626, allocations: 2.893 MB / 249.8 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.004296, allocations: 1.677 MB / 251.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.004403, allocations: 4 kB / 251.4 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.004749, allocations: 202.8 kB / 251.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.004922, allocations: 95.12 kB / 251.7 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.0054, allocations: 295 kB / 252 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.005722, allocations: 402.3 kB / 252.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.005887, allocations: 83.92 kB / 252.5 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.006128, allocations: 259.8 kB / 252.7 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.006246, allocations: 115.7 kB / 252.9 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.006274, allocations: 35.94 kB / 252.9 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.006503, allocations: 179.6 kB / 253.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.006562, allocations: 67.73 kB / 253.1 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.006631, allocations: 95.81 kB / 253.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.006917, allocations: 302.9 kB / 253.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.006923, allocations: 0 / 253.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.006924, allocations: 0 / 253.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.006933, allocations: 0 / 253.5 MB, free: 5.379 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005427/0.007476, allocations: 0.6436 MB / 254.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.202e-05/0.007498, allocations: 11.98 kB / 254.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.00761, allocations: 134 kB / 254.3 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.007783, allocations: 204.6 kB / 254.5 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.0078, allocations: 17.03 kB / 254.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.007823, allocations: 28.38 kB / 254.6 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.008019, allocations: 223.9 kB / 254.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.008026, allocations: 4.125 kB / 254.8 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.008039, allocations: 16.31 kB / 254.8 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.00805, allocations: 7.938 kB / 254.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.008142, allocations: 80.55 kB / 254.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.008819, allocations: 0.6707 MB / 255.5 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.008961, allocations: 159.6 kB / 255.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.00903, allocations: 52.83 kB / 255.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.009063, allocations: 16 kB / 255.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.00908, allocations: 42.5 kB / 255.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.032e-06/0.009081, allocations: 0 / 255.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.001945/0.01103, allocations: 1.153 MB / 257 MB, free: 1.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.01104, allocations: 55.41 kB / 257 MB, free: 1.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.01117, allocations: 250.9 kB / 257.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.01118, allocations: 29.7 kB / 257.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.01125, allocations: 184.9 kB / 257.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.0113, allocations: 126.9 kB / 257.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.01136, allocations: 61.67 kB / 257.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.01144, allocations: 346.7 kB / 258 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.01148, allocations: 38.75 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.01155, allocations: 72.58 kB / 258.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.01168, allocations: 152.8 kB / 258.3 MB, free: 384 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01168, allocations: 0 / 258.3 MB, free: 384 kB / 250.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005717/0.01225, allocations: 385 kB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.01226, allocations: 4 kB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.01226, allocations: 8.062 kB / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.01349, allocations: 0.4988 MB / 259.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01365, allocations: 71.89 kB / 259.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003905/0.01404, allocations: 1.134 MB / 260.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.01411, allocations: 8 kB / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01412, allocations: 12 kB / 260.4 MB, free: 14.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.0142, allocations: 132.7 kB / 260.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.01423, allocations: 35.91 kB / 260.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.01478, allocations: 355.8 kB / 260.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.01478, allocations: 8 kB / 260.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01478, allocations: 3.938 kB / 260.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01479, allocations: 0 / 260.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.01553, allocations: 0.6282 MB / 261.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01554, allocations: 4.062 kB / 261.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.01567, allocations: 63.89 kB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01569, allocations: 27.75 kB / 261.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.01689, allocations: 0.495 MB / 262.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.0169, allocations: 4 kB / 262.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003947/0.0173, allocations: 1.148 MB / 263.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.0173, allocations: 64 / 263.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.01789, allocations: 0.5179 MB / 263.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01791, allocations: 8 kB / 263.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.01799, allocations: 11.98 kB / 263.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.01802, allocations: 23.91 kB / 263.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01803, allocations: 12.02 kB / 263.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.01809, allocations: 88.58 kB / 263.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01809, allocations: 4 kB / 263.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.01829, allocations: 95.86 kB / 264 MB, free: 10.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001104/0.0184, allocations: 112.3 kB / 264.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.01863, allocations: 177.3 kB / 264.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.01864, allocations: 8.062 kB / 264.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01877, allocations: 120.5 kB / 264.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.01894, allocations: 58.88 kB / 264.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.02102, allocations: 0.6919 MB / 265.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.317e-05/0.02107, allocations: 97.03 kB / 265.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.02113, allocations: 26.36 kB / 265.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.02121, allocations: 79.36 kB / 265.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02121, allocations: 0 / 265.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of Templates: time 0.004957/0.02617, allocations: 3.637 MB / 269 MB, free: 5.352 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.2960456190630794]