Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 108.4 kB / 15.99 MB, free: 6.348 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.0009854/0.0009854, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007737/0.007737, allocations: 1.234 MB / 292 MB, free: 13.9 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 352.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1819, allocations: 49.7 MB / 402.2 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003816/0.1857, allocations: 3.016 MB / 405.2 MB, free: 32.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1876, allocations: 1.38 MB / 406.6 MB, free: 31.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1878, allocations: 8 kB / 406.6 MB, free: 31.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1883, allocations: 133.2 kB / 406.7 MB, free: 31.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.1887, allocations: 99.34 kB / 406.8 MB, free: 30.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.1893, allocations: 237.7 kB / 407 MB, free: 30.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.1897, allocations: 434.2 kB / 407.5 MB, free: 30.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1899, allocations: 142.4 kB / 407.6 MB, free: 30.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1901, allocations: 179.3 kB / 407.8 MB, free: 29.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1903, allocations: 191.1 kB / 408 MB, free: 29.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.1904, allocations: 36 kB / 408 MB, free: 29.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1906, allocations: 215.6 kB / 408.2 MB, free: 29.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.1907, allocations: 91.67 kB / 408.3 MB, free: 29.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1908, allocations: 194.9 kB / 408.5 MB, free: 29.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1912, allocations: 391 kB / 408.9 MB, free: 28.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1912, allocations: 4 kB / 408.9 MB, free: 28.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1912, allocations: 0 / 408.9 MB, free: 28.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1912, allocations: 0 / 408.9 MB, free: 28.87 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001035/0.1922, allocations: 0.7013 MB / 409.6 MB, free: 28.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1923, allocations: 8.031 kB / 409.6 MB, free: 28.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.1924, allocations: 40.47 kB / 409.6 MB, free: 28.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1927, allocations: 328 kB / 409.9 MB, free: 27.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1927, allocations: 21.03 kB / 410 MB, free: 27.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1927, allocations: 36.38 kB / 410 MB, free: 27.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1933, allocations: 298.3 kB / 410.3 MB, free: 27.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1933, allocations: 3.938 kB / 410.3 MB, free: 27.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1933, allocations: 16 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-06/0.1934, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.1939, allocations: 274.5 kB / 410.6 MB, free: 27.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.1953, allocations: 1.171 MB / 411.8 MB, free: 25.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.1958, allocations: 190.6 kB / 411.9 MB, free: 25.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.196, allocations: 90 kB / 412 MB, free: 25.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.196, allocations: 15.92 kB / 412.1 MB, free: 25.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.1961, allocations: 42.44 kB / 412.1 MB, free: 25.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.1961, allocations: 0 / 412.1 MB, free: 25.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002705/0.1988, allocations: 0.896 MB / 413 MB, free: 24.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.1988, allocations: 55.58 kB / 413 MB, free: 24.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.199, allocations: 316.4 kB / 413.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1991, allocations: 33.7 kB / 413.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1992, allocations: 239.5 kB / 413.6 MB, free: 23.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.1992, allocations: 90.66 kB / 413.7 MB, free: 23.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.1993, allocations: 73.98 kB / 413.8 MB, free: 23.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.1993, allocations: 346.8 kB / 414.1 MB, free: 23.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1996, allocations: 116.7 kB / 414.2 MB, free: 23.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.2, allocations: 217.2 kB / 414.4 MB, free: 22.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.2005, allocations: 356.6 kB / 414.8 MB, free: 22.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2006, allocations: 0 / 414.8 MB, free: 22.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001203/0.2018, allocations: 0.5963 MB / 415.4 MB, free: 21.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2018, allocations: 12 kB / 415.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2018, allocations: 0 / 415.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.2035, allocations: 0.8256 MB / 416.2 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.2038, allocations: 71.89 kB / 416.3 MB, free: 21.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/0.2043, allocations: 1.179 MB / 417.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.2046, allocations: 28.11 kB / 417.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.2046, allocations: 12 kB / 417.5 MB, free: 19.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.2048, allocations: 161.7 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.2048, allocations: 27.62 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.206, allocations: 0.5326 MB / 418.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.206, allocations: 0 / 418.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.206, allocations: 0 / 418.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.206, allocations: 8 kB / 418.2 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.2063, allocations: 381.3 kB / 418.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2063, allocations: 0 / 418.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.2065, allocations: 47.89 kB / 418.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.2081, allocations: 0.807 MB / 419.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2081, allocations: 4 kB / 419.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004355/0.2086, allocations: 1.183 MB / 420.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2086, allocations: 0 / 420.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2096, allocations: 0.5935 MB / 421.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.2097, allocations: 104.7 kB / 421.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.2098, allocations: 8 kB / 421.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.21, allocations: 19.97 kB / 421.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.2101, allocations: 19.92 kB / 421.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2101, allocations: 8 kB / 421.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.2103, allocations: 223 kB / 421.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2103, allocations: 0 / 421.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.2106, allocations: 103.9 kB / 421.7 MB, free: 15.44 MB / 302.1 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 (19): * Single equations (assignments): 17 * 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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.2108, allocations: 135.2 kB / 421.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.2116, allocations: 323.8 kB / 422.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.2117, allocations: 0 / 422.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.2121, allocations: 185.1 kB / 422.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.2125, allocations: 40.17 kB / 422.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.2134, allocations: 0.8128 MB / 423.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.2136, allocations: 0.7873 MB / 424 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.2137, allocations: 27.42 kB / 424 MB, free: 13.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2137, allocations: 0 / 424 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Templates: time 0.006743/0.2205, allocations: 7.007 MB / 431 MB, free: 6.066 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1)