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.005153/0.005153, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007308/0.007308, allocations: 1.226 MB / 17.08 MB, free: 4.879 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.252/1.252, allocations: 223.2 MB / 241.3 MB, free: 8.738 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.000912/0.0009119, allocations: 101 kB / 292.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8 kB / 353.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2265, allocations: 50.67 MB / 404.6 MB, free: 30.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.3338, allocations: 85.39 MB / 490 MB, free: 9.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.334, allocations: 75.97 kB / 490 MB, free: 9.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03589/0.3699, allocations: 12.91 MB / 0.4912 GB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.37, allocations: 0 / 0.4912 GB, free: 12.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.37, allocations: 4 kB / 0.4912 GB, free: 12.41 MB / 378.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.001369/0.3714, allocations: 0.6474 MB / 0.4918 GB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3714, allocations: 12.03 kB / 0.4918 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3716, allocations: 43.44 kB / 0.4918 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.3722, allocations: 314.8 kB / 0.4921 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.3722, allocations: 24.66 kB / 0.4922 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.3723, allocations: 32 kB / 0.4922 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.373, allocations: 318 kB / 0.4925 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.373, allocations: 0 / 0.4925 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.373, allocations: 15.94 kB / 0.4925 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.3731, allocations: 8 kB / 0.4925 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/0.3738, allocations: 298.4 kB / 0.4928 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3758, allocations: 1.186 MB / 0.494 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.3763, allocations: 210.5 kB / 0.4942 GB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/0.3764, allocations: 12 kB / 0.4942 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.3764, allocations: 34.91 kB / 0.4942 GB, free: 9.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.3764, allocations: 3.938 kB / 0.4942 GB, free: 9.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.003013/0.3795, allocations: 0.8773 MB / 0.4951 GB, free: 8.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3795, allocations: 63.59 kB / 0.4951 GB, free: 8.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3799, allocations: 287.6 kB / 0.4954 GB, free: 7.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3799, allocations: 25.7 kB / 0.4954 GB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3801, allocations: 246.7 kB / 0.4957 GB, free: 7.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.3801, allocations: 90.66 kB / 0.4958 GB, free: 7.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.3802, allocations: 4 kB / 0.4958 GB, free: 7.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3803, allocations: 346.8 kB / 0.4961 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.3806, allocations: 132.7 kB / 0.4962 GB, free: 6.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.381, allocations: 229.1 kB / 0.4964 GB, free: 6.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.3814, allocations: 155.9 kB / 0.4966 GB, free: 6.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3814, allocations: 0 / 0.4966 GB, free: 6.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001348/0.3828, allocations: 0.5261 MB / 0.4971 GB, free: 6.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3828, allocations: 4 kB / 0.4971 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3828, allocations: 4 kB / 0.4971 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.3854, allocations: 225.4 kB / 0.4973 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.3858, allocations: 83.89 kB / 0.4974 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008597/0.3866, allocations: 1.191 MB / 0.4986 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.387, allocations: 27.98 kB / 0.4986 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.387, allocations: 16 kB / 0.4986 GB, free: 4.418 MB / 378.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 (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.0002119/0.3872, allocations: 161.7 kB / 0.4988 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.3873, allocations: 27.62 kB / 0.4988 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3887, allocations: 475.9 kB / 0.4992 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3887, allocations: 4 kB / 0.4992 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3887, allocations: 3.984 kB / 0.4992 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3887, allocations: 0 / 0.4992 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.3892, allocations: 373.4 kB / 0.4996 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3892, allocations: 0 / 0.4996 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.3895, allocations: 51.91 kB / 0.4997 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/0.3919, allocations: 225.4 kB / 0.4999 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3919, allocations: 4 kB / 0.4999 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007634/0.3927, allocations: 1.179 MB / 0.501 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3927, allocations: 0 / 0.501 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3939, allocations: 0.5161 MB / 0.5015 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.394, allocations: 108.7 kB / 0.5016 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3941, allocations: 4 kB / 0.5016 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3943, allocations: 19.98 kB / 0.5017 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.3944, allocations: 27.95 kB / 0.5017 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3944, allocations: 15.98 kB / 0.5017 GB, free: 1.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3947, allocations: 223 kB / 0.5019 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3947, allocations: 0 / 0.5019 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004977/0.3952, allocations: 111.9 kB / 0.502 GB, free: 0.7539 MB / 378.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 (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.0003311/0.3955, allocations: 181.4 kB / 0.5022 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.3964, allocations: 327.7 kB / 0.5025 GB, free: 252 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3964, allocations: 3.938 kB / 0.5025 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.3969, allocations: 172.6 kB / 0.5027 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3972, allocations: 33.06 kB / 0.5027 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1983/0.5955, allocations: 0.7483 MB / 0.5034 GB, free: 98.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.596, allocations: 0.7988 MB / 0.5042 GB, free: 97.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.5962, allocations: 36.05 kB / 0.5042 GB, free: 97.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.5963, allocations: 24.8 kB / 0.5043 GB, free: 97.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5963, allocations: 2.516 kB / 0.5043 GB, free: 97.34 MB / 378.7 MB Notification: Performance of Templates: time 0.009477/0.6058, allocations: 4.172 MB / 0.5083 GB, free: 97.22 MB / 378.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)