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.001141/0.001141, allocations: 107 kB / 16.36 MB, free: 6.285 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.001131/0.001131, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007902/0.007902, allocations: 1.241 MB / 292.4 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.89 kB / 353.8 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3089, allocations: 49.7 MB / 403.5 MB, free: 35.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004504/0.3135, allocations: 2.974 MB / 406.4 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.316, allocations: 1.396 MB / 407.8 MB, free: 30.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.3163, allocations: 7.938 kB / 407.8 MB, free: 30.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.3169, allocations: 148.9 kB / 408 MB, free: 30.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.3174, allocations: 118.7 kB / 408.1 MB, free: 30.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.3182, allocations: 267.3 kB / 408.4 MB, free: 30.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.3187, allocations: 434.2 kB / 408.8 MB, free: 29.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.3189, allocations: 141.8 kB / 408.9 MB, free: 29.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.3191, allocations: 175.3 kB / 409.1 MB, free: 29.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3194, allocations: 191.2 kB / 409.3 MB, free: 29.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.3194, allocations: 36 kB / 409.3 MB, free: 29.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.3198, allocations: 211.6 kB / 409.5 MB, free: 29.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3199, allocations: 95.66 kB / 409.6 MB, free: 29.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3201, allocations: 191 kB / 409.8 MB, free: 28.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.3208, allocations: 0.5331 MB / 410.3 MB, free: 28.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3208, allocations: 0 / 410.3 MB, free: 28.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3208, allocations: 0 / 410.3 MB, free: 28.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.3208, allocations: 0 / 410.3 MB, free: 28.36 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.001256/0.3221, allocations: 0.6975 MB / 411 MB, free: 27.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.3222, allocations: 12.03 kB / 411.1 MB, free: 27.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.3223, allocations: 44.47 kB / 411.1 MB, free: 27.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.3227, allocations: 324 kB / 411.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.3228, allocations: 25.03 kB / 411.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.3229, allocations: 28.38 kB / 411.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.3234, allocations: 302.3 kB / 411.8 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3235, allocations: 0 / 411.8 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.3235, allocations: 19.98 kB / 411.8 MB, free: 26.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3235, allocations: 8 kB / 411.8 MB, free: 26.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.3241, allocations: 274.4 kB / 412.1 MB, free: 26.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.3255, allocations: 1.167 MB / 413.2 MB, free: 25.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.3259, allocations: 200.4 kB / 413.4 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3261, allocations: 80.81 kB / 413.5 MB, free: 25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.464e-05/0.3261, allocations: 15.94 kB / 413.5 MB, free: 24.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3262, allocations: 42.5 kB / 413.6 MB, free: 24.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.3262, allocations: 0 / 413.6 MB, free: 24.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002477/0.3287, allocations: 0.8944 MB / 414.4 MB, free: 24.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3287, allocations: 55.64 kB / 414.5 MB, free: 23.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.329, allocations: 320.4 kB / 414.8 MB, free: 23.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.329, allocations: 29.7 kB / 414.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3291, allocations: 247.5 kB / 415.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.3292, allocations: 90.66 kB / 415.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.3293, allocations: 73.98 kB / 415.2 MB, free: 23.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.3293, allocations: 342.8 kB / 415.6 MB, free: 22.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.3296, allocations: 116.7 kB / 415.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.3299, allocations: 221.2 kB / 415.9 MB, free: 22.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.3305, allocations: 352.6 kB / 416.3 MB, free: 22.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3305, allocations: 0 / 416.3 MB, free: 22.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001089/0.3316, allocations: 0.604 MB / 416.9 MB, free: 21.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3316, allocations: 7.984 kB / 416.9 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3316, allocations: 4 kB / 416.9 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.3332, allocations: 0.8126 MB / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.3335, allocations: 79.88 kB / 417.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.3342, allocations: 1.171 MB / 418.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3344, allocations: 36.09 kB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3345, allocations: 16 kB / 419 MB, free: 19.29 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.0001737/0.3347, allocations: 154 kB / 419.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.3347, allocations: 35.61 kB / 419.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3358, allocations: 0.5217 MB / 419.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3358, allocations: 7.984 kB / 419.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3359, allocations: 0 / 419.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3359, allocations: 4 kB / 419.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.3363, allocations: 381.3 kB / 420.1 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3363, allocations: 0 / 420.1 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.3365, allocations: 43.91 kB / 420.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.338, allocations: 0.8149 MB / 420.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.338, allocations: 4 kB / 420.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005397/0.3385, allocations: 1.175 MB / 422.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3386, allocations: 0 / 422.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3396, allocations: 0.593 MB / 422.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.3397, allocations: 108.7 kB / 422.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.3397, allocations: 4 kB / 422.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.34, allocations: 15.98 kB / 422.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.34, allocations: 23.91 kB / 422.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3401, allocations: 8 kB / 422.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.3403, allocations: 223.1 kB / 423.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 423.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.3408, allocations: 107.9 kB / 423.2 MB, free: 14.93 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.000217/0.341, allocations: 139.1 kB / 423.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000771/0.3418, allocations: 311.7 kB / 423.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3418, allocations: 0 / 423.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.3422, allocations: 176.6 kB / 423.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3426, allocations: 54.41 kB / 423.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3437, allocations: 0.6237 MB / 424.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3439, allocations: 0.7873 MB / 425.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.344, allocations: 38.94 kB / 425.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3441, allocations: 23.44 kB / 425.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3441, allocations: 0 / 425.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Templates: time 0.007199/0.3513, allocations: 3.882 MB / 429.2 MB, free: 8.875 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 cvode -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1)