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.001485/0.001485, allocations: 98.92 kB / 16.35 MB, free: 5.824 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.001552/0.001552, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007917/0.007917, allocations: 1.24 MB / 292.4 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 60.05 kB / 353.8 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2088, allocations: 49.69 MB / 403.5 MB, free: 35.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003631/0.2125, allocations: 2.979 MB / 406.4 MB, free: 32.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.214, allocations: 1.399 MB / 407.8 MB, free: 30.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2141, allocations: 7.938 kB / 407.9 MB, free: 30.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.2145, allocations: 144.9 kB / 408 MB, free: 30.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.2148, allocations: 118.9 kB / 408.1 MB, free: 30.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.2153, allocations: 271.2 kB / 408.4 MB, free: 30.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.2156, allocations: 434.2 kB / 408.8 MB, free: 29.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2157, allocations: 143.2 kB / 408.9 MB, free: 29.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2159, allocations: 175.3 kB / 409.1 MB, free: 29.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2161, allocations: 187.2 kB / 409.3 MB, free: 29.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.2161, allocations: 36 kB / 409.3 MB, free: 29.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.2164, allocations: 219.6 kB / 409.5 MB, free: 29.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.2165, allocations: 91.67 kB / 409.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2166, allocations: 187 kB / 409.8 MB, free: 28.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.2169, allocations: 0.5332 MB / 410.3 MB, free: 28.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2169, allocations: 0 / 410.3 MB, free: 28.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.217, allocations: 3.938 kB / 410.4 MB, free: 28.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.217, allocations: 0 / 410.4 MB, free: 28.34 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.0009472/0.2179, allocations: 0.6988 MB / 411 MB, free: 27.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.2179, allocations: 8.031 kB / 411.1 MB, free: 27.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.218, allocations: 40.47 kB / 411.1 MB, free: 27.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.2183, allocations: 320 kB / 411.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2184, allocations: 29.03 kB / 411.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.2184, allocations: 32.38 kB / 411.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.2189, allocations: 298.3 kB / 411.8 MB, free: 26.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2189, allocations: 4 kB / 411.8 MB, free: 26.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.2189, allocations: 15.98 kB / 411.8 MB, free: 26.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2189, allocations: 8 kB / 411.8 MB, free: 26.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.2195, allocations: 270.4 kB / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.2207, allocations: 1.174 MB / 413.2 MB, free: 25.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.2211, allocations: 194.6 kB / 413.4 MB, free: 25.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2213, allocations: 84.81 kB / 413.5 MB, free: 24.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.2213, allocations: 11.94 kB / 413.5 MB, free: 24.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2213, allocations: 42.48 kB / 413.6 MB, free: 24.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.2213, allocations: 4 kB / 413.6 MB, free: 24.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002351/0.2237, allocations: 0.8947 MB / 414.5 MB, free: 24.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.2237, allocations: 55.64 kB / 414.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.224, allocations: 320.4 kB / 414.8 MB, free: 23.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.224, allocations: 29.7 kB / 414.8 MB, free: 23.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.2241, allocations: 243.5 kB / 415.1 MB, free: 23.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.2241, allocations: 94.66 kB / 415.2 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.2242, allocations: 69.98 kB / 415.2 MB, free: 23.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.2243, allocations: 346.8 kB / 415.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.2245, allocations: 116.7 kB / 415.7 MB, free: 22.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.2248, allocations: 217.2 kB / 415.9 MB, free: 22.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.2254, allocations: 352.6 kB / 416.3 MB, free: 22.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2254, allocations: 8 kB / 416.3 MB, free: 22.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001077/0.2264, allocations: 0.5923 MB / 416.9 MB, free: 21.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2265, allocations: 16.92 kB / 416.9 MB, free: 21.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2265, allocations: 4 kB / 416.9 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.228, allocations: 0.8106 MB / 417.7 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.2284, allocations: 79.89 kB / 417.8 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004873/0.2289, allocations: 1.171 MB / 418.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.2292, allocations: 28.09 kB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2292, allocations: 16 kB / 419 MB, free: 19.28 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.0001222/0.2293, allocations: 158.7 kB / 419.1 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.2294, allocations: 31.61 kB / 419.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.2304, allocations: 0.5258 MB / 419.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2304, allocations: 7.984 kB / 419.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2304, allocations: 0 / 419.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2304, allocations: 0 / 419.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.2308, allocations: 377.3 kB / 420.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2308, allocations: 4 kB / 420.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.231, allocations: 47.91 kB / 420.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.2324, allocations: 0.8171 MB / 420.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.2324, allocations: 8 kB / 420.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004605/0.2329, allocations: 1.167 MB / 422.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2329, allocations: 4.031 kB / 422.1 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.2339, allocations: 0.5976 MB / 422.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.234, allocations: 104.7 kB / 422.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.234, allocations: 8 kB / 422.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2342, allocations: 19.92 kB / 422.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.2343, allocations: 23.91 kB / 422.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2343, allocations: 4 kB / 422.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.2345, allocations: 219.1 kB / 423.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2345, allocations: 4 kB / 423.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.2349, allocations: 103.9 kB / 423.2 MB, free: 14.91 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.0001805/0.2351, allocations: 143.1 kB / 423.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007431/0.2358, allocations: 315.7 kB / 423.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2359, allocations: 0 / 423.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.2363, allocations: 175.8 kB / 423.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.2366, allocations: 45.89 kB / 423.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/0.2376, allocations: 0.6175 MB / 424.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2378, allocations: 0.7951 MB / 425.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.2379, allocations: 34.95 kB / 425.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.238, allocations: 23.44 kB / 425.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.238, allocations: 0 / 425.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Templates: time 0.0067/0.2447, allocations: 3.886 MB / 429.2 MB, free: 8.855 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 -s gbode -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1)