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.006741/0.006742, allocations: 97.3 kB / 15.73 MB, free: 6.055 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.001374/0.001374, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007455/0.007455, allocations: 1.238 MB / 291.8 MB, free: 1.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 61.78 kB / 403.3 MB, free: 9.117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.08912, allocations: 49.72 MB / 453 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003983/0.09315, allocations: 2.977 MB / 456 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.09531, allocations: 1.394 MB / 457.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.09548, allocations: 7.938 kB / 457.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.09596, allocations: 151.1 kB / 457.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.09625, allocations: 119.1 kB / 457.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.09687, allocations: 259.3 kB / 457.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.09729, allocations: 434.3 kB / 458.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.0975, allocations: 135.3 kB / 458.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.09772, allocations: 175.2 kB / 458.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.09795, allocations: 195.1 kB / 458.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.09803, allocations: 32 kB / 458.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.09833, allocations: 211.6 kB / 459.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.09845, allocations: 91.72 kB / 459.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.09862, allocations: 202.9 kB / 459.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.09919, allocations: 0.5175 MB / 459.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.0992, allocations: 3.938 kB / 459.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.0992, allocations: 0 / 459.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09922, allocations: 0 / 459.9 MB, free: 13.2 MB / 334.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.001113/0.1003, allocations: 0.7203 MB / 460.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1004, allocations: 8.031 kB / 460.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.1005, allocations: 44.66 kB / 460.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.1009, allocations: 320.2 kB / 460.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1009, allocations: 21.03 kB / 461 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.1009, allocations: 36.38 kB / 461 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.1015, allocations: 302.3 kB / 461.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1015, allocations: 0 / 461.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.1016, allocations: 16 kB / 461.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1016, allocations: 15.98 kB / 461.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.1022, allocations: 278.3 kB / 461.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1037, allocations: 1.175 MB / 462.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.1042, allocations: 192.6 kB / 463 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1044, allocations: 84.91 kB / 463 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.1044, allocations: 15.92 kB / 463.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1045, allocations: 34.56 kB / 463.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.1045, allocations: 0 / 463.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002666/0.1071, allocations: 0.9125 MB / 464 MB, free: 8.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1072, allocations: 55.64 kB / 464.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1075, allocations: 320.5 kB / 464.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1075, allocations: 29.7 kB / 464.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1076, allocations: 244.1 kB / 464.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.1077, allocations: 99.11 kB / 464.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/0.1078, allocations: 78.02 kB / 464.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1079, allocations: 338.8 kB / 465.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.1082, allocations: 120.6 kB / 465.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1086, allocations: 221.2 kB / 465.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.1092, allocations: 348.7 kB / 465.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1092, allocations: 4 kB / 465.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001253/0.1105, allocations: 0.5889 MB / 466.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1105, allocations: 8 kB / 466.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1105, allocations: 4.219 kB / 466.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/0.1123, allocations: 0.8201 MB / 467.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.1126, allocations: 79.83 kB / 467.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007062/0.1133, allocations: 1.175 MB / 468.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.1136, allocations: 19.98 kB / 468.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1136, allocations: 19.98 kB / 468.5 MB, free: 4.102 MB / 334.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.0001563/0.1138, allocations: 162.1 kB / 468.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1138, allocations: 27.81 kB / 468.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.115, allocations: 0.5344 MB / 469.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.115, allocations: 0 / 469.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1151, allocations: 4 kB / 469.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1151, allocations: 128 / 469.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.1155, allocations: 389.3 kB / 469.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1155, allocations: 0 / 469.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1157, allocations: 47.91 kB / 469.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.1174, allocations: 0.8044 MB / 470.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.1174, allocations: 11.98 kB / 470.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006684/0.1181, allocations: 1.171 MB / 471.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1181, allocations: 0 / 471.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.1193, allocations: 0.6023 MB / 472.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.1194, allocations: 108.9 kB / 472.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.1195, allocations: 12 kB / 472.4 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1197, allocations: 19.97 kB / 472.4 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1198, allocations: 19.92 kB / 472.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1198, allocations: 7.984 kB / 472.4 MB, free: 36 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.12, allocations: 219.1 kB / 472.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1201, allocations: 0 / 472.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.1205, allocations: 103.9 kB / 472.8 MB, free: 15.72 MB / 350.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.0002184/0.1207, allocations: 143 kB / 472.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.1216, allocations: 324.4 kB / 473.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1216, allocations: 0 / 473.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.122, allocations: 171.8 kB / 473.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1224, allocations: 44.64 kB / 473.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1236, allocations: 0.6385 MB / 474.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.124, allocations: 0.7911 MB / 474.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.1241, allocations: 38.97 kB / 474.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.1242, allocations: 27.42 kB / 474.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1242, allocations: 0 / 474.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Templates: time 0.007491/0.1317, allocations: 3.939 MB / 478.9 MB, free: 9.57 MB / 350.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 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1)