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.001864/0.001864, allocations: 85.48 kB / 19.44 MB, free: 336 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.002025/0.002025, allocations: 169.2 kB / 22.76 MB, free: 1.656 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 1.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.01184/0.01184, allocations: 0.9653 MB / 260.5 MB, free: 12.2 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.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 1.473e-06/1.473e-06, allocations: 0 / 330 MB, free: 19.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.926e-05, allocations: 4.562 kB / 330 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003018/0.003047, allocations: 2.814 MB / 332.8 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.005064, allocations: 1.627 MB / 334.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.005195, allocations: 7.938 kB / 334.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.00581, allocations: 194.9 kB / 334.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.006011, allocations: 103.1 kB / 334.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.006585, allocations: 314.9 kB / 335.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.006913, allocations: 406.2 kB / 335.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.007044, allocations: 78.03 kB / 335.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.00728, allocations: 215.5 kB / 335.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.007439, allocations: 123.6 kB / 335.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.00748, allocations: 28 kB / 335.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.007725, allocations: 171.6 kB / 336.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.007787, allocations: 87.72 kB / 336.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.007874, allocations: 111.7 kB / 336.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.00829, allocations: 470.4 kB / 336.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008294, allocations: 8 kB / 336.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008295, allocations: 0 / 336.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.008301, allocations: 0 / 336.7 MB, free: 12.41 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008236/0.009124, allocations: 0.7058 MB / 337.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.009153, allocations: 8.031 kB / 337.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.00935, allocations: 76.62 kB / 337.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.009595, allocations: 231.5 kB / 337.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.009615, allocations: 21.03 kB / 337.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.009652, allocations: 28.31 kB / 337.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.01002, allocations: 272.3 kB / 338.1 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01003, allocations: 192 / 338.1 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.01006, allocations: 12.38 kB / 338.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.01006, allocations: 7.938 kB / 338.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.01042, allocations: 206.5 kB / 338.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01169, allocations: 0.957 MB / 339.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.012, allocations: 189.3 kB / 339.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.01221, allocations: 105.8 kB / 339.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-05/0.01227, allocations: 23.98 kB / 339.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.01228, allocations: 37.33 kB / 339.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.152e-06/0.01228, allocations: 0 / 339.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003709/0.01599, allocations: 1.336 MB / 340.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.01601, allocations: 55.41 kB / 341 MB, free: 7.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.01626, allocations: 366.3 kB / 341.3 MB, free: 7.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.01628, allocations: 33.7 kB / 341.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.01637, allocations: 263.1 kB / 341.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.01643, allocations: 134.9 kB / 341.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.01651, allocations: 75.36 kB / 341.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.0166, allocations: 0.5313 MB / 342.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.01676, allocations: 83.97 kB / 342.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.01694, allocations: 158.7 kB / 342.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.01729, allocations: 264.2 kB / 342.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01729, allocations: 4 kB / 342.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00138/0.01867, allocations: 0.5721 MB / 343.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01869, allocations: 4 kB / 343.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01869, allocations: 7.938 kB / 343.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/0.02157, allocations: 0.5574 MB / 344 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.02181, allocations: 59.97 kB / 344.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006119/0.02242, allocations: 1.779 MB / 345.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.0226, allocations: 16.06 kB / 345.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.02262, allocations: 8 kB / 345.9 MB, free: 2.891 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 0.0001296/0.02275, allocations: 196.5 kB / 346.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.02281, allocations: 43.75 kB / 346.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.02413, allocations: 0.5114 MB / 346.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02413, allocations: 4 kB / 346.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.02413, allocations: 3.938 kB / 346.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.02414, allocations: 0 / 346.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.0258, allocations: 0.9527 MB / 347.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.02581, allocations: 4 kB / 347.6 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.02601, allocations: 43.97 kB / 347.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.02876, allocations: 0.5652 MB / 348.2 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.02878, allocations: 8 kB / 348.2 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.03002, allocations: 1.772 MB / 350 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.03002, allocations: 3.938 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.03194, allocations: 0.7525 MB / 350.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.03201, allocations: 23.81 kB / 350.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.03206, allocations: 16.02 kB / 350.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.03225, allocations: 8 kB / 350.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.03232, allocations: 31.88 kB / 350.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.03234, allocations: 12 kB / 350.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.0326, allocations: 243 kB / 351 MB, free: 13.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0326, allocations: 3.938 kB / 351 MB, free: 13.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.03303, allocations: 95.81 kB / 351.1 MB, free: 13.41 MB / 282.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.000249/0.03328, allocations: 135.1 kB / 351.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.03404, allocations: 291.5 kB / 351.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03404, allocations: 0 / 351.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.03446, allocations: 167.4 kB / 351.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.03487, allocations: 47.34 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.03627, allocations: 0.6893 MB / 352.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.03648, allocations: 185.5 kB / 352.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.03658, allocations: 22.36 kB / 352.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.03664, allocations: 20.5 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03664, allocations: 0 / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Templates: time 0.008945/0.04558, allocations: 3.206 MB / 355.9 MB, free: 8.625 MB / 282.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: 4.634432542952709]