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.0009721/0.0009721, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001004/0.001004, allocations: 173 kB / 23.5 MB, free: 1.051 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.045/1.045, allocations: 177.2 MB / 203.8 MB, free: 5.605 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.006359/0.006359, allocations: 0.9688 MB / 261.3 MB, free: 12.22 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.122e-06/1.122e-06, allocations: 0 / 330.8 MB, free: 19.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.662e-05, allocations: 2.312 kB / 330.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.002319/0.002336, allocations: 2.843 MB / 333.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.00398, allocations: 1.635 MB / 335.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.004121, allocations: 7.938 kB / 335.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.004659, allocations: 186.9 kB / 335.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.00483, allocations: 107 kB / 335.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.005373, allocations: 311 kB / 335.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.005751, allocations: 410.2 kB / 336.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.005894, allocations: 70.03 kB / 336.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.006126, allocations: 215.5 kB / 336.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.006258, allocations: 127.6 kB / 336.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.006285, allocations: 28 kB / 336.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.006499, allocations: 183.5 kB / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.006557, allocations: 79.73 kB / 336.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.006626, allocations: 115.7 kB / 337.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.006929, allocations: 346.8 kB / 337.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006931, allocations: 0 / 337.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006932, allocations: 0 / 337.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006937, allocations: 0 / 337.4 MB, free: 12.49 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.0006097/0.007547, allocations: 0.6905 MB / 338.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.007578, allocations: 8.031 kB / 338.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.007706, allocations: 72.64 kB / 338.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.007918, allocations: 235.5 kB / 338.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.007942, allocations: 21.03 kB / 338.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.007974, allocations: 32.31 kB / 338.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.008242, allocations: 233 kB / 338.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.008253, allocations: 4.188 kB / 338.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.008273, allocations: 12.38 kB / 338.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.008283, allocations: 7.938 kB / 338.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.008448, allocations: 115.8 kB / 338.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.009286, allocations: 0.8671 MB / 339.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.009486, allocations: 137 kB / 339.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.009596, allocations: 79.56 kB / 339.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.009638, allocations: 16 kB / 339.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.009654, allocations: 41.33 kB / 339.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.009656, allocations: 0 / 339.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002033/0.01169, allocations: 1.173 MB / 341.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.01171, allocations: 55.41 kB / 341.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.01186, allocations: 314.3 kB / 341.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.01187, allocations: 33.7 kB / 341.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.01195, allocations: 263.1 kB / 341.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.01199, allocations: 122.9 kB / 341.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.01205, allocations: 71.34 kB / 342 MB, free: 7.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.0121, allocations: 0.5157 MB / 342.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.01218, allocations: 43.97 kB / 342.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.01227, allocations: 114.7 kB / 342.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.01245, allocations: 180.2 kB / 342.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01245, allocations: 4 kB / 342.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007188/0.01317, allocations: 493.9 kB / 343.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01319, allocations: 4 kB / 343.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01319, allocations: 7.984 kB / 343.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.01461, allocations: 0.5379 MB / 343.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01475, allocations: 63.89 kB / 343.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003957/0.01514, allocations: 1.709 MB / 345.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.01523, allocations: 8 kB / 345.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01524, allocations: 16.06 kB / 345.6 MB, free: 3.848 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 8.257e-05/0.01532, allocations: 176.5 kB / 345.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.01536, allocations: 47.7 kB / 345.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000695/0.01606, allocations: 447.6 kB / 346.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01606, allocations: 4 kB / 346.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01606, allocations: 3.938 kB / 346.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01607, allocations: 3.984 kB / 346.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.01697, allocations: 0.8199 MB / 347.1 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01697, allocations: 4 kB / 347.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.01707, allocations: 39.97 kB / 347.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.01846, allocations: 0.5457 MB / 347.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.01848, allocations: 4 kB / 347.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004194/0.0189, allocations: 1.709 MB / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.0189, allocations: 3.938 kB / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.01977, allocations: 0.6315 MB / 350.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.0198, allocations: 23.81 kB / 350.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.01983, allocations: 8 kB / 350.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.01992, allocations: 8 kB / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.01998, allocations: 27.98 kB / 350.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01999, allocations: 8 kB / 350.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.02013, allocations: 222.9 kB / 350.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02013, allocations: 3.938 kB / 350.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.02041, allocations: 95.81 kB / 350.4 MB, free: 14.84 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.0002015/0.02061, allocations: 135.1 kB / 350.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.02103, allocations: 223.4 kB / 350.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02103, allocations: 0 / 350.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.0212, allocations: 127.5 kB / 350.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.02146, allocations: 40.58 kB / 351 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02252, allocations: 0.6612 MB / 351.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.259e-05/0.02259, allocations: 97.03 kB / 351.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.02265, allocations: 18.3 kB / 351.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.02269, allocations: 20.5 kB / 351.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02269, allocations: 4 kB / 351.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of Templates: time 0.005359/0.02805, allocations: 3.227 MB / 355 MB, free: 10.26 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: 2.8962512689176947]