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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 105.1 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 196.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007343/0.007343, allocations: 1.234 MB / 292 MB, free: 13.69 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.89 kB / 352.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1802, allocations: 49.7 MB / 402.2 MB, free: 35.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.00298/0.1832, allocations: 2.836 MB / 405 MB, free: 32.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1848, allocations: 1.627 MB / 406.6 MB, free: 31.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.185, allocations: 4 kB / 406.6 MB, free: 31.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.1855, allocations: 180.1 kB / 406.8 MB, free: 30.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1857, allocations: 87.42 kB / 406.9 MB, free: 30.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.1862, allocations: 248.2 kB / 407.2 MB, free: 30.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1866, allocations: 406.5 kB / 407.5 MB, free: 30.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1867, allocations: 113.6 kB / 407.7 MB, free: 30.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.1869, allocations: 139.5 kB / 407.8 MB, free: 29.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.187, allocations: 171.2 kB / 408 MB, free: 29.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.187, allocations: 28 kB / 408 MB, free: 29.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1873, allocations: 187.7 kB / 408.2 MB, free: 29.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.1874, allocations: 79.73 kB / 408.3 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.1875, allocations: 179 kB / 408.4 MB, free: 29.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1877, allocations: 327.2 kB / 408.7 MB, free: 29.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1877, allocations: 3.984 kB / 408.8 MB, free: 29.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1877, allocations: 0 / 408.8 MB, free: 29.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1877, allocations: 0 / 408.8 MB, free: 29.02 MB / 302.1 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.0007748/0.1885, allocations: 0.6545 MB / 409.4 MB, free: 28.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.1886, allocations: 11.89 kB / 409.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.1886, allocations: 40.47 kB / 409.5 MB, free: 28.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1889, allocations: 282.5 kB / 409.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1889, allocations: 20.94 kB / 409.8 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1889, allocations: 24.38 kB / 409.8 MB, free: 27.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1893, allocations: 269.2 kB / 410 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1894, allocations: 4 kB / 410 MB, free: 27.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1894, allocations: 8 kB / 410.1 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1894, allocations: 12 kB / 410.1 MB, free: 27.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.1898, allocations: 250 kB / 410.3 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.191, allocations: 1.076 MB / 411.4 MB, free: 26.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.1914, allocations: 246.3 kB / 411.6 MB, free: 25.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.1916, allocations: 124.8 kB / 411.7 MB, free: 25.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.1917, allocations: 16 kB / 411.8 MB, free: 25.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1917, allocations: 42.95 kB / 411.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.1917, allocations: 0 / 411.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.003777/0.1955, allocations: 1.631 MB / 413.4 MB, free: 24.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1955, allocations: 59.34 kB / 413.5 MB, free: 23.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1957, allocations: 278.9 kB / 413.8 MB, free: 23.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1957, allocations: 33.7 kB / 413.8 MB, free: 23.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.1958, allocations: 200.1 kB / 414 MB, free: 23.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.1959, allocations: 118.3 kB / 414.1 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.196, allocations: 65.69 kB / 414.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.196, allocations: 342.8 kB / 414.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1962, allocations: 123.9 kB / 414.6 MB, free: 22.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1964, allocations: 168.5 kB / 414.8 MB, free: 22.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1969, allocations: 298.1 kB / 415.1 MB, free: 22.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1969, allocations: 4 kB / 415.1 MB, free: 22.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001475/0.1983, allocations: 0.6131 MB / 415.7 MB, free: 21.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1984, allocations: 7.984 kB / 415.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1984, allocations: 8 kB / 415.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.201, allocations: 0.5324 MB / 416.2 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.2013, allocations: 59.91 kB / 416.3 MB, free: 21.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005633/0.2019, allocations: 1.28 MB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.2021, allocations: 20.08 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2021, allocations: 16 kB / 417.6 MB, free: 19.71 MB / 302.1 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.0001188/0.2022, allocations: 157.7 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.2023, allocations: 31.62 kB / 417.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.2037, allocations: 0.576 MB / 418.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2037, allocations: 0 / 418.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2037, allocations: 4 kB / 418.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2037, allocations: 0 / 418.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2055, allocations: 1.06 MB / 419.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2055, allocations: 4.062 kB / 419.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.2057, allocations: 39.97 kB / 419.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.2082, allocations: 0.5363 MB / 420 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2082, allocations: 8 kB / 420 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000519/0.2088, allocations: 1.28 MB / 421.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2088, allocations: 8.031 kB / 421.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.2103, allocations: 0.8027 MB / 422.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2104, allocations: 108.8 kB / 422.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2104, allocations: 7.984 kB / 422.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.2106, allocations: 15.94 kB / 422.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2107, allocations: 24.03 kB / 422.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2107, allocations: 8 kB / 422.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2108, allocations: 201.9 kB / 422.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.2108, allocations: 0 / 422.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000349/0.2112, allocations: 99.88 kB / 422.6 MB, free: 14.56 MB / 302.1 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.0001547/0.2114, allocations: 127.2 kB / 422.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.212, allocations: 344.8 kB / 423 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.212, allocations: 0 / 423 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.2124, allocations: 187.8 kB / 423.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2128, allocations: 36.98 kB / 423.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2138, allocations: 0.9159 MB / 424.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.214, allocations: 0.7876 MB / 425 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.2141, allocations: 27.42 kB / 425 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2141, allocations: 0 / 425 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.005872/0.22, allocations: 6.417 MB / 431.4 MB, free: 5.648 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)