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.0007771/0.0007773, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008912/0.0008912, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006725/0.006725, allocations: 1.22 MB / 292.3 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003707, allocations: 11.98 kB / 353.5 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3117, allocations: 50.67 MB / 404.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.00466/0.3164, allocations: 2.534 MB / 406.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.319, allocations: 1.3 MB / 408 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.3192, allocations: 4.469 kB / 408 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.3196, allocations: 114.8 kB / 408.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.3199, allocations: 92.2 kB / 408.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.3204, allocations: 182.7 kB / 408.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.3209, allocations: 416.5 kB / 408.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.3212, allocations: 110.6 kB / 408.9 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.3215, allocations: 143.3 kB / 409 MB, free: 7.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3217, allocations: 172.4 kB / 409.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.3218, allocations: 23.44 kB / 409.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.3221, allocations: 137.3 kB / 409.3 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3222, allocations: 72.84 kB / 409.4 MB, free: 7.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.3223, allocations: 90.3 kB / 409.5 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.3229, allocations: 361.6 kB / 409.8 MB, free: 7.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3229, allocations: 0.5625 kB / 409.8 MB, free: 7.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3229, allocations: 4 kB / 409.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3229, allocations: 1.219 kB / 409.8 MB, free: 7.285 MB / 286.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.001211/0.3241, allocations: 0.6569 MB / 410.5 MB, free: 6.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3242, allocations: 9.953 kB / 410.5 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.3243, allocations: 39.09 kB / 410.6 MB, free: 6.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.3247, allocations: 309.4 kB / 410.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3247, allocations: 26.28 kB / 410.9 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.3248, allocations: 31.53 kB / 410.9 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.3255, allocations: 306.4 kB / 411.2 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3255, allocations: 2.656 kB / 411.2 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.3255, allocations: 17.73 kB / 411.2 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3255, allocations: 8.969 kB / 411.2 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.3262, allocations: 293.3 kB / 411.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3279, allocations: 1.182 MB / 412.7 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3283, allocations: 200.8 kB / 412.9 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.3286, allocations: 89.92 kB / 413 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/0.3287, allocations: 11.38 kB / 413 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3287, allocations: 39.58 kB / 413 MB, free: 5.254 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.013e-06/0.3287, allocations: 4 kB / 413 MB, free: 5.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.003005/0.3317, allocations: 0.9782 MB / 414 MB, free: 4.953 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.3317, allocations: 54.42 kB / 414.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.3321, allocations: 312.1 kB / 414.4 MB, free: 4.719 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3321, allocations: 36.08 kB / 414.4 MB, free: 4.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3323, allocations: 235 kB / 414.6 MB, free: 4.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.3323, allocations: 90.38 kB / 414.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.3323, allocations: 10.78 kB / 414.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.3324, allocations: 340.2 kB / 415.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.3327, allocations: 129.8 kB / 415.2 MB, free: 4.039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.3331, allocations: 228.1 kB / 415.4 MB, free: 3.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.3336, allocations: 157.4 kB / 415.6 MB, free: 3.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3337, allocations: 5.438 kB / 415.6 MB, free: 3.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002129/0.3358, allocations: 0.6299 MB / 416.2 MB, free: 3.605 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.3358, allocations: 5.562 kB / 416.2 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3359, allocations: 4.359 kB / 416.2 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.3382, allocations: 0.819 MB / 417 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.3385, allocations: 76.44 kB / 417.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006139/0.3391, allocations: 1.179 MB / 418.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3394, allocations: 26.62 kB / 418.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.3395, allocations: 17.38 kB / 418.3 MB, free: 2.402 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.3397, allocations: 158 kB / 418.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.3397, allocations: 33.28 kB / 418.5 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.3411, allocations: 0.5502 MB / 419.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3411, allocations: 7.453 kB / 419.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3411, allocations: 3.984 kB / 419.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3411, allocations: 1.312 kB / 419.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.3416, allocations: 376.4 kB / 419.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3416, allocations: 4 kB / 419.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3418, allocations: 47.95 kB / 419.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.3436, allocations: 0.8144 MB / 420.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3437, allocations: 6.781 kB / 420.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005014/0.3442, allocations: 1.175 MB / 421.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3442, allocations: 0 / 421.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3453, allocations: 0.6053 MB / 422.1 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.3454, allocations: 108.4 kB / 422.2 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.3455, allocations: 5.188 kB / 422.2 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.3457, allocations: 23.33 kB / 422.2 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.3458, allocations: 25.94 kB / 422.3 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3458, allocations: 12.33 kB / 422.3 MB, free: 180 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.346, allocations: 218.1 kB / 422.5 MB, free: 32 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.346, allocations: 0 / 422.5 MB, free: 32 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.3466, allocations: 97.91 kB / 422.6 MB, free: 16 kB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.3468, allocations: 136.4 kB / 422.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008946/0.3477, allocations: 329.3 kB / 423 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3478, allocations: 0 / 423 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.3482, allocations: 184.5 kB / 423.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3486, allocations: 42.77 kB / 423.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.35, allocations: 0.7584 MB / 424 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3504, allocations: 0.7967 MB / 424.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.3506, allocations: 39.2 kB / 424.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3506, allocations: 27.12 kB / 424.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3506, allocations: 0 / 424.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Templates: time 0.008194/0.3588, allocations: 3.53 MB / 428.4 MB, free: 12.59 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: