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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006377/0.006377, allocations: 1.236 MB / 17.97 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.9 MB, free: 9.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009629, allocations: 101.5 kB / 292.4 MB, free: 9.797 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 47.92 kB / 352.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2033, allocations: 49.71 MB / 402.6 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003073/0.2064, allocations: 3.006 MB / 405.6 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2079, allocations: 1.413 MB / 407 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.208, allocations: 11.94 kB / 407 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.2084, allocations: 133.5 kB / 407.1 MB, free: 27.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.2086, allocations: 95.34 kB / 407.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.2091, allocations: 239.5 kB / 407.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.2094, allocations: 461.6 kB / 407.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2095, allocations: 119.9 kB / 408 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2097, allocations: 163.3 kB / 408.2 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.2099, allocations: 183.2 kB / 408.4 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.2099, allocations: 24 kB / 408.4 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.2101, allocations: 207.6 kB / 408.6 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.2102, allocations: 83.66 kB / 408.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2103, allocations: 186.9 kB / 408.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.2107, allocations: 0.5216 MB / 409.4 MB, free: 24.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2107, allocations: 4 kB / 409.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2107, allocations: 0 / 409.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2107, allocations: 0 / 409.4 MB, free: 24.97 MB / 298.7 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.0009097/0.2116, allocations: 0.7004 MB / 410.1 MB, free: 24.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.2116, allocations: 8.031 kB / 410.1 MB, free: 24.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.2117, allocations: 40.47 kB / 410.1 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.212, allocations: 324 kB / 410.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.212, allocations: 29.03 kB / 410.5 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2121, allocations: 28.38 kB / 410.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.2125, allocations: 298.3 kB / 410.8 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2125, allocations: 0 / 410.8 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.2126, allocations: 23.98 kB / 410.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2126, allocations: 8 kB / 410.8 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.2131, allocations: 270.4 kB / 411.1 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.2144, allocations: 1.174 MB / 412.2 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.2148, allocations: 194.5 kB / 412.4 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.2149, allocations: 84.81 kB / 412.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.215, allocations: 15.92 kB / 412.5 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.215, allocations: 38.56 kB / 412.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.215, allocations: 0 / 412.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.002398/0.2174, allocations: 0.8968 MB / 413.5 MB, free: 20.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.2174, allocations: 51.64 kB / 413.5 MB, free: 20.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.2177, allocations: 324.4 kB / 413.8 MB, free: 20.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2177, allocations: 29.7 kB / 413.9 MB, free: 20.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.2178, allocations: 239.5 kB / 414.1 MB, free: 19.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2178, allocations: 94.64 kB / 414.2 MB, free: 19.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.2179, allocations: 77.92 kB / 414.3 MB, free: 19.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.218, allocations: 342.8 kB / 414.6 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.2183, allocations: 116.7 kB / 414.7 MB, free: 19.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.2186, allocations: 217.2 kB / 414.9 MB, free: 19.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005406/0.2191, allocations: 352.6 kB / 415.3 MB, free: 18.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2191, allocations: 0 / 415.3 MB, free: 18.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001058/0.2202, allocations: 0.604 MB / 415.9 MB, free: 18.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2202, allocations: 11.98 kB / 415.9 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2202, allocations: 4 kB / 415.9 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.2216, allocations: 0.8137 MB / 416.7 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.2219, allocations: 71.89 kB / 416.8 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004715/0.2224, allocations: 1.179 MB / 418 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.2227, allocations: 27.98 kB / 418 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2227, allocations: 12 kB / 418 MB, free: 15.92 MB / 298.7 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.0001237/0.2228, allocations: 165.6 kB / 418.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2229, allocations: 31.61 kB / 418.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.2239, allocations: 0.5399 MB / 418.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2239, allocations: 4 kB / 418.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.224, allocations: 4 kB / 418.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.224, allocations: 0 / 418.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.2243, allocations: 373.4 kB / 419.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2243, allocations: 0 / 419.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.2245, allocations: 43.91 kB / 419.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.2259, allocations: 0.8088 MB / 420 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2259, allocations: 4 kB / 420 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004435/0.2264, allocations: 1.175 MB / 421.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2264, allocations: 0 / 421.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2278, allocations: 1.31 MB / 422.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.2278, allocations: 108.7 kB / 422.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.2279, allocations: 0 / 422.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2281, allocations: 27.91 kB / 422.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.2281, allocations: 20.09 kB / 422.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2282, allocations: 12 kB / 422.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.2283, allocations: 219.1 kB / 422.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2283, allocations: 0 / 422.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004731/0.2288, allocations: 103.9 kB / 422.9 MB, free: 10.79 MB / 298.7 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.0001716/0.229, allocations: 135.2 kB / 423.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007607/0.2298, allocations: 324.4 kB / 423.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2298, allocations: 4.188 kB / 423.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.2302, allocations: 168.3 kB / 423.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2306, allocations: 48.06 kB / 423.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.2315, allocations: 0.9616 MB / 424.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2317, allocations: 0.7953 MB / 425.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.2319, allocations: 46.88 kB / 425.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.2319, allocations: 27.42 kB / 425.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2319, allocations: 0 / 425.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of Templates: time 0.006625/0.2386, allocations: 3.752 MB / 429.2 MB, free: 4.492 MB / 298.7 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)